Communication Method, Apparatus, And Storage Medium

ABSTRACT

A communication method, includes: a terminal device receives a first-standard vehicle-to-everything V2X sidelink configuration and a second-standard V2X sidelink configuration from a network device, obtains based on the first-standard V2X sidelink configuration and the second-standard V2X sidelink configuration, a V2X sidelink resource used for data transmission; and communicates with another terminal device on the V2X sidelink resource.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Application No.PCT/CN2019/092976, filed on Jun. 26, 2019, which claims priority toChinese Patent Application No. 201810680516.3, filed on Jun. 27, 2018.The disclosures of the aforementioned applications are hereinincorporated by reference in their entireties.

TECHNICAL FIELD

Embodiments of this application relate to the field of communicationstechnologies, and in particular, to a communication method, anapparatus, and a storage medium.

BACKGROUND

A vehicle-to-everything (vehicle to everything, V2X) service is a typeof communications service for which a vehicle-to-vehicle (vehicle tovehicle, V2V) application is used, and is usually transmitted throughthe 3rd generation partnership project (3rd Generation PartnershipProject, 3GPP) system. V2X includes a vehicle-to-infrastructure (vehicleto infrastructure, V2I) service, a vehicle-to-network (vehicle tonetwork, V2N) service, a vehicle-to-pedestrian (vehicle to pedestrian,V2P) service, and a vehicle-to-vehicle (vehicle to vehicle, V2V)service.

In an existing long term evolution (Long Term Evolution, LTE)technology, that LTE V2X is used to support a V2X service has beendefined, but an existing LTE base station can provide a service for onlyan LTE V2X service. After new radio (New Radio, NR) is introduced, howto enable a terminal device to obtain both an LTE V2X service and an NRV2X service is a technical problem that urgently needs to be resolvedcurrently.

SUMMARY

Embodiments of this application provide a communication method, anapparatus, and a storage medium, to ensure that a same terminal devicecan obtain a first-standard V2X service and a second-standard V2Xservice.

A first aspect of this application provides a communication method,including:

sending, by a network device, a first-standard V2X sidelinkconfiguration and/or a second-standard V2X sidelink configuration to afirst terminal device; obtaining, by the first terminal device based onthe first-standard V2X sidelink configuration and/or the second-standardV2X sidelink configuration, a V2X sidelink resource used for datatransmission; and communicating, by the first terminal device, with asecond terminal device on the V2X sidelink resource.

In this solution, a first-standard V2X service may be an LTE V2Xservice, or may be an NR V2X service. Correspondingly, a second-standardV2X service may be an NR V2X service, or may be an LTE V2X service. Forexample, first-standard V2X and second-standard V2X may alternatively bewireless fidelity (wireless fidelity, Wi-Fi). Alternatively, differentstandards may alternatively be access technologies for which differentspectrum resources, different encoding and decoding technologies,different subcarrier spacings, different transmission timings(transmission timing), different CP lengths, different modulation anddemodulation technologies, or different transmission time intervals areused.

For example, a first standard is LTE, and a second standard is NR. Thefirst-standard V2X sidelink configuration includes at least one of thefollowing information: LTE V2X sidelink transmit resource information,LTE V2X sidelink receive resource information, an LTE V2X sidelinktransmit power, an LTE V2X sidelink modulation and coding scheme(modulation and coding scheme, MCS), an LTE sidelinkvehicle-to-everything radio network temporary identifier(sidelink-V2X-radio network temporary identifier, SL-V-RNTI), an LTE V2Xsynchronization type, and an LTE V2X synchronization configuration. Thesecond-standard V2X sidelink configuration includes at least one of thefollowing information: NR V2X sidelink receive resource information, NRV2X sidelink transmit resource information, an NR V2X sidelink transmitpower, an NR V2X sidelink MCS, an NR SL-V-RNTI, an NR V2Xsynchronization type, and an NR V2X synchronization configuration.

In the foregoing solution, the first terminal device can obtain thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration from the network device, thereby determining,based on the foregoing two configurations, that the V2X sidelinkresource used for data transmission is a first-standard V2X sidelinkresource and/or a second-standard V2X sidelink resource, so that thefirst terminal device performs first-standard V2X service communicationand/or second-standard V2X service communication with the secondterminal device based on the determined V2X sidelink resource. In thisway, it can be ensured that a same terminal device can obtain afirst-standard V2X service and a second-standard V2X service.

For example, a V2X service may be, for example, an IP, a non-IP, V2V,V2I, V2N, V2P, a provider service identifier (provider serviceidentifier, PSID), or an intelligent transport systems applicationidentifier (intelligent transport systems application identifier,ITS-AID).

Optionally, the method further includes:

sending, by the first terminal device to the network device, informationindicating that the first terminal device supports a first-standard V2Xservice and information indicating that the first terminal devicesupports a second-standard V2X service.

For example, the information indicating that the first terminal devicesupports the first-standard V2X service and the information indicatingthat the first terminal device supports the second-standard V2X servicemay be capability indication information indicating that the firstterminal device supports the first-standard V2X service and capabilityindication information indicating that the first terminal devicesupports the second-standard V2X service.

In the foregoing solution, because the first terminal device sends theinformation indicating that the first terminal device supports thefirst-standard V2X service and the information indicating that the firstterminal device supports the second-standard V2X service to the networkdevice, the network device may selectively send the first-standard V2Xsidelink configuration and/or the second-standard V2X sidelinkconfiguration to the first terminal device based on the foregoinginformation, so that a network resource can be saved.

Optionally, the obtaining a V2X sidelink resource used for datatransmission includes:

receiving, by the first terminal device, a first message broadcast bythe network device, where the first message may include any one, anytwo, or all of the following: an identifier of an area, a first-standardV2X sidelink configuration corresponding to the area, and asecond-standard V2X sidelink configuration corresponding to the area,the first-standard V2X sidelink configuration includes availablefirst-standard V2X sidelink resources, and the second-standard V2Xsidelink configuration includes available second-standard V2X sidelinkresources; and selecting, by the first terminal device, at least one ofthe available first-standard V2X sidelink resources and/or at least oneof the available second-standard V2X sidelink resources when the firstterminal device is currently in the area.

For example, the first message may include only any one of theidentifier of the area, the first-standard V2X sidelink configurationcorresponding to the area, and the second-standard V2X sidelinkconfiguration corresponding to the area. Alternatively, the firstmessage may include any two of the identifier of the area, thefirst-standard V2X sidelink configuration corresponding to the area, andthe second-standard V2X sidelink configuration corresponding to thearea. For example, the first message includes the identifier of the areaand the first-standard V2X sidelink configuration corresponding to thearea. Alternatively, the first message includes the identifier of thearea and the second-standard V2X sidelink configuration corresponding tothe area. Alternatively, the first message includes the first-standardV2X sidelink configuration corresponding to the area and thesecond-standard V2X sidelink configuration corresponding to the area.Alternatively, the first message may include all of the identifier ofthe area, the first-standard V2X sidelink configuration corresponding tothe area, and the second-standard V2X sidelink configurationcorresponding to the area.

In this solution, when determining an area in which the first terminaldevice is located, the first terminal device can select a resource fromavailable resources corresponding to the area, to transmit data. Forexample, the first terminal device may select the at least one of theavailable first-standard V2X sidelink resources as the V2X sidelinkresource, to transmit data; may select the at least one of the availablesecond-standard V2X sidelink resources as the V2X sidelink resource, totransmit data; or may select the at least one of the availablefirst-standard V2X sidelink resources and the at least one of theavailable second-standard V2X sidelink resources as the V2X sidelinkresources, to transmit data.

For example, the network device broadcasts a plurality of availableresources for the area, and the first terminal device selects one ormore available resources from the plurality of available resourcesbroadcast by the network device. For example, when performing carrieraggregation (carrier aggregation, CA), the first terminal device mayselect two or more available resources.

In the foregoing solution, when broadcasting a message to the firstterminal device, the network device can provide the V2X sidelinkconfigurations in the two standards for the first terminal device. Inthis way, the first terminal device can obtain the V2X sidelinkconfigurations in the two standards when the first terminal device is inan idle state, so that the first terminal device can also obtain thefirst-standard V2X service and the second-standard V2X service when thefirst terminal device is in the idle state.

Optionally, the obtaining a V2X sidelink resource used for datatransmission includes:

sending, by the first terminal device, a second message to the networkdevice, where the second message carries at least one piece ofinformation used to indicate a network standard; and receiving, by thefirst terminal device, the V2X sidelink resource sent by the networkdevice based on the network standard.

In this solution, the first terminal device sends the second message tothe network device. The second message includes information used toindicate a sidelink radio access technology (radio access technology,RAT) type (type), for example, used to indicate whether the sidelinkradio access technology type is the first standard or the secondstandard, or used to indicate both the first standard and the secondstandard. The second message may be a scheduling report (schedulingreport, SR) or a buffer status report (buffer status report, BSR). Whenreporting the SR or the BSR, the first terminal device may use the SR orthe BSR to carry the at least one piece of information used to indicatethe network standard.

After receiving the second message sent by the first terminal device,the network device determines the V2X sidelink resource based on theinformation that is used to indicate the network standard and that iscarried in the second message, and sends the V2X sidelink resource tothe first terminal device.

In the foregoing solution, the first terminal device can send, to thenetwork device, the information used to indicate the network standard.In this way, the network device sends the V2X sidelink resource to thefirst terminal device based on the network standard. Therefore, thefirst terminal device obtains the corresponding V2X sidelink resourceaccording to an actual requirement.

Optionally, the obtaining a V2X sidelink resource used for datatransmission includes:

receiving, by the first terminal device, a configuration rule sent bythe network device, where the configuration rule includes any one, anytwo, any three, or all of the following information: a mappingrelationship between a V2X service type and a resource, a mappingrelationship between a quality of service QoS parameter and a resource,a quality of service QoS parameter threshold, and a sidelink qualitythreshold, and the sidelink quality threshold includes a first-standardV2X sidelink quality threshold and/or a second-standard V2X sidelinkquality threshold; and determining, by the first terminal device, theV2X sidelink resource according to the configuration rule. In theforegoing solution, the configuration rule may include the any one, anytwo, any three, or all of the foregoing information. For example, theconfiguration rule may include the mapping relationship between a V2Xservice type and a resource and the sidelink quality threshold. In thiscase, the first terminal device measures a sidelink CBR. When thesidelink CBR obtained through measurement satisfies a threshold, thefirst terminal device executes a mapping relationship, configured by thenetwork device, between a V2X service type and a resource, to bespecific, selects the resource configured by the network device, totransmit a V2X service that belongs to the V2X service type. For anotherexample, the configuration rule may include the mapping relationshipbetween a QoS parameter and a resource and the sidelink qualitythreshold. In this case, the first terminal device measures a sidelinkCBR. When the sidelink CBR obtained through measurement satisfies athreshold, the first terminal device executes a mapping relationship,configured by the network device, between a QoS parameter and aresource, to be specific, selects the resource configured by the networkdevice, to transmit data having the QoS parameter. Satisfying thethreshold may be that the CBR obtained through measurement is greaterthan the threshold, the CBR obtained through measurement is greater thanor equal to the threshold, the CBR obtained through measurement is lessthan the threshold, or the CBR obtained through measurement is less thanor equal to the threshold.

For example, the resource may be the first-standard V2X sidelinkresource, may be the second-standard V2X sidelink resource, or may bethe first-standard V2X sidelink resource and the second-standard V2Xsidelink resource.

For example, the quality of service QoS parameter may include any one,any two, or all of the following information: a prose per-packetpriority (prose per packet priority, PPPP), prose per-packet reliability(prose per packet reliability, PPPR), and quality of service flowindicator (QoS flow indicator, QFI). The quality of service flowindicator may alternatively be a 5QI (5G QoS Identifier) or a prioritylevel (priority level).

For example, a sidelink quality parameter may include a channel busyratio (Channel Busy Ratio, CBR).

When the configuration rule includes the mapping relationship between aV2X service type and a resource, the first terminal device obtains,based on a type of a V2X service that needs to be transmitted, a V2Xsidelink resource corresponding to the type of the V2X service thatneeds to be transmitted.

After receiving the configuration rule sent by the network device, thefirst terminal device may determine the V2X sidelink resource accordingto the configuration rule. In this way, the first terminal device canobtain the first-standard V2X service and the second-standard V2Xservice based on the obtained V2X sidelink resource.

Optionally, the configuration rule includes the quality of service QoSparameter threshold, and the quality of service QoS parameter thresholdincludes a first prose per-packet priority PPPP threshold and/or a firstprose per-packet reliability PPPR threshold; and the determining the V2Xsidelink resource according to the configuration rule satisfies any oneof the following: if a PPPP of a to-be-sent data packet of the firstterminal device is greater than or greater than or equal to the firstPPPP threshold, and/or PPPR of the to-be-sent data packet is greaterthan or greater than or equal to the first PPPR threshold, determiningthat the V2X sidelink resource is a first-standard V2X sidelinkresource;

if a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is greater than or greaterthan or equal to the first PPPR threshold, determining that the V2Xsidelink resource is a second-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, determining that the V2X sidelinkresource is a first-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, determining that the V2X sidelinkresource is a second-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is less than or less than or equal to thefirst PPPR threshold, determining that the V2X sidelink resource is afirst-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is less than or less than or equal to thefirst PPPR threshold, determining that the V2X sidelink resource is asecond-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is greater than or greater than or equalto the first PPPR threshold, determining that the V2X sidelink resourceis a first-standard V2X sidelink resource; or if a PPPP of a to-be-sentdata packet of the first terminal device is less than or less than orequal to the first PPPP threshold, and/or PPPR of the to-be-sent datapacket is greater than or greater than or equal to the first PPPRthreshold, determining that the V2X sidelink resource is asecond-standard V2X sidelink resource.

In the foregoing solution, for example, according to an existingstandard, a smaller PPPP value indicates a higher priority of theto-be-sent data packet. Assuming that a smaller PPPR value indicates ahigher reliability requirement of the to-be-sent data, and it isconsidered that the first-standard V2X sidelink resource may be used fortransmission of data having a lower priority and/or a lower reliabilityrequirement, when the PPPP of the to-be-sent data packet is greater thanor greater than or equal to the first PPPP threshold, and/or when thePPPR of the to-be-sent data packet is greater than or greater than orequal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the first-standard V2X sidelink resource. In thisway, the terminal device can select a proper V2X resource to satisfy aQoS requirement of the data packet.

For example, according to an existing standard, a smaller PPPP valueindicates a higher priority of the to-be-sent data packet. Assuming thata smaller PPPR value indicates a higher reliability requirement of theto-be-sent data, and it is considered that the second-standard V2Xsidelink resource may be used for transmission of data having a lowerpriority and/or a lower reliability requirement, when the PPPP of theto-be-sent data packet is greater than or greater than or equal to thefirst PPPP threshold, and/or when the PPPR of the to-be-sent data packetis greater than or greater than or equal to the first PPPR threshold, itis determined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, the terminal device can select a properV2X resource to satisfy a QoS requirement of the data packet.

For example, according to an existing standard, a smaller PPPP valueindicates a higher priority of the to-be-sent data packet. Assuming thata larger PPPR value indicates a higher reliability requirement of theto-be-sent data, and it is considered that the first-standard V2Xsidelink resource may be used for transmission of data having a lowerpriority and/or a lower reliability requirement, when the PPPP of theto-be-sent data packet is greater than or greater than or equal to thefirst PPPP threshold, and/or when the PPPR of the to-be-sent data packetis less than or less than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource. In this way, the terminal device can select a properV2X resource to satisfy a QoS requirement of the data packet.

For example, according to an existing standard, a smaller PPPP valueindicates a higher priority of the to-be-sent data packet. Assuming thata larger PPPR value indicates a higher reliability requirement of theto-be-sent data, and it is considered that the second-standard V2Xsidelink resource may be used for transmission of data having a lowerpriority and/or a lower reliability requirement, when the PPPP of theto-be-sent data packet is greater than or greater than or equal to thefirst PPPP threshold, and/or when the PPPR of the to-be-sent data packetis less than or less than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, the terminal device can select a properV2X resource to satisfy a QoS requirement of the data packet.

For example, according to an existing standard, a smaller PPPP valueindicates a higher priority of the to-be-sent data packet. Assuming thata smaller PPPR value indicates a higher reliability requirement of theto-be-sent data, and it is considered that the first-standard V2Xsidelink resource may be used for transmission of data having a higherpriority and/or a higher reliability requirement, when the PPPP of theto-be-sent data packet is less than or less than or equal to the firstPPPP threshold, and/or when the PPPR of the data packet is less than orless than or equal to the first PPPR threshold, it is determined thatthe V2X sidelink resource is the first-standard V2X sidelink resource.In this way, the terminal device can select a proper V2X resource tosatisfy a QoS requirement of the data packet.

For example, according to an existing standard, a smaller PPPP valueindicates a higher priority of the to-be-sent data packet. Assuming thata smaller PPPR value indicates a higher reliability requirement of theto-be-sent data, and it is considered that the second-standard V2Xsidelink resource may be used for transmission of data having a higherpriority and/or a higher reliability requirement, when the PPPP of theto-be-sent data packet is less than or less than or equal to the firstPPPP threshold, and/or when the PPPR of the data packet is less than orless than or equal to the first PPPR threshold, it is determined thatthe V2X sidelink resource is the second-standard V2X sidelink resource.In this way, the terminal device can select a proper V2X resource tosatisfy a QoS requirement of the data packet.

For example, according to an existing standard, a smaller PPPP valueindicates a higher priority of the to-be-sent data packet. Assuming thata larger PPPR value indicates a higher reliability requirement of theto-be-sent data, and it is considered that the first-standard V2Xsidelink resource may be used for transmission of data having a higherpriority and/or a higher reliability requirement, when the PPPP of theto-be-sent data packet is less than or less than or equal to the firstPPPP threshold, and/or when the PPPR of the to-be-sent data packet isgreater than or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource. In this way, the terminal device can select a properV2X resource to satisfy a QoS requirement of the data packet.

For example, according to an existing standard, a smaller PPPP valueindicates a higher priority of the to-be-sent data packet. Assuming thata larger PPPR value indicates a higher reliability requirement of theto-be-sent data, and it is considered that the second-standard V2Xsidelink resource may be used for transmission of data having a higherpriority and/or a higher reliability requirement, when the PPPP of theto-be-sent data packet is less than or less than or equal to the firstPPPP threshold, and/or when the PPPR of the to-be-sent data packet isgreater than or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, the terminal device can select a properV2X resource to satisfy a QoS requirement of the data packet.

Optionally, the quality of service QoS parameter threshold furtherincludes a second PPPP threshold and/or a second PPPR threshold; and thedetermining the V2X sidelink resource according to the configurationrule satisfies either of the following:

if the PPPP of the to-be-sent data packet of the first terminal deviceis less than or less than or equal to the second PPPP threshold, and/orthe PPPR of the to-be-sent data packet is greater than or greater thanor equal to the second PPPR threshold, determining that the V2X sidelinkresources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource; or if the PPPP of the to-be-sentdata packet of the first terminal device is less than or less than orequal to the second PPPP threshold, and/or the PPPR of the to-be-sentdata packet is less than or less than or equal to the second PPPRthreshold, determining that the V2X sidelink resources are thefirst-standard V2X sidelink resource and the second-standard V2Xsidelink resource.

In this solution, according to the existing standard, the smaller PPPPvalue indicates the higher priority of the to-be-sent data packet.Assuming that the larger PPPR value indicates the higher reliabilityrequirement of the to-be-sent data, and it is considered that using boththe first-standard V2X sidelink resource and the second-standard V2Xsidelink resource for transmission can satisfy a high priorityrequirement and/or a high reliability requirement of data, when the PPPPof the to-be-sent data packet is less than or less than or equal to thesecond PPPP threshold, and/or the PPPR of the to-be-sent data packet isgreater than or greater than or equal to the second PPPR threshold, itis determined that the V2X sidelink resources are the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource. In thisway, when the terminal device needs to transmit the data having the highpriority requirement and/or the high reliability requirement, theterminal device can obtain the corresponding V2X sidelink resources tosatisfy a QoS requirement of the data packet.

For example, according to the existing standard, the smaller PPPP valueindicates the higher priority of the to-be-sent data packet. Assumingthat the smaller PPPR value indicates the higher reliability requirementof the to-be-sent data, and it is considered that using both thefirst-standard V2X sidelink resource and the second-standard V2Xsidelink resource for transmission can satisfy a high priorityrequirement and/or a high reliability requirement of data, when the PPPPof the to-be-sent data packet is less than or less than or equal to thesecond PPPP threshold, and/or the PPPR of the to-be-sent data packet isless than or less than or equal to the second PPPR threshold, it isdetermined that the V2X sidelink resources are the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource. In thisway, when the terminal device needs to transmit the data having the highpriority requirement and/or the high reliability requirement, theterminal device can obtain the corresponding V2X sidelink resources tosatisfy a QoS requirement of the data packet.

Optionally, the configuration rule includes the quality of service QoSparameter threshold, and the quality of service QoS parameter thresholdincludes a first quality of service flow indicator QFI threshold; andthe determining the V2X sidelink resource according to the configurationrule satisfies any one of the following:

if a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold,determining that the V2X sidelink resource is a first-standard V2Xsidelink resource;

if a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold,determining that the V2X sidelink resource is a second-standard V2Xsidelink resource;

if a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, determiningthat the V2X sidelink resource is a first-standard V2X sidelinkresource; or

if a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, determiningthat the V2X sidelink resource is a second-standard V2X sidelinkresource.

In this solution, for example, the to-be-sent data packet of the firstterminal device has the corresponding QFI. If the QFI of the to-be-sentdata packet is greater than or greater than or equal to the first QFIthreshold, it is determined that the V2X sidelink resource is thefirst-standard V2X sidelink resource. In this way, if a smaller QFIvalue indicates a higher QoS requirement, and it is considered that thefirst-standard V2X sidelink resource may be used to transmit data havinga lower QoS requirement, the terminal device can select, according tothe foregoing rule, appropriate V2X sidelink resources for data havingdifferent QoS requirements, to transmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, if a smaller QFI value indicates ahigher QoS requirement, and it is considered that the second-standardV2X sidelink resource may be used to transmit data having a lower QoSrequirement, the terminal device can select, according to the foregoingrule, appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource. In this way, if a smaller QFI value indicates a higher QoSrequirement, and it is considered that the first-standard V2X sidelinkresource may be used to transmit data having a higher QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the second-standard V2X sidelinkresource. In this way, if a smaller QFI value indicates a higher QoSrequirement, and it is considered that the second-standard V2X sidelinkresource may be used to transmit data having a higher QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource. In this way, if a larger QFI value indicates a higherQoS requirement, and it is considered that the first-standard V2Xsidelink resource may be used to transmit data having a higher QoSrequirement, the terminal device can select, according to the foregoingrule, appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, if a larger QFI value indicates a higherQoS requirement, and it is considered that the second-standard V2Xsidelink resource may be used to transmit data having a higher QoSrequirement, the terminal device can select, according to the foregoingrule, appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource. In this way, if a larger QFI value indicates a higher QoSrequirement, and it is considered that the first-standard V2X sidelinkresource may be used to transmit data having a lower QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the second-standard V2X sidelinkresource. In this way, if a larger QFI value indicates a higher QoSrequirement, and it is considered that the second-standard V2X sidelinkresource may be used to transmit data having a lower QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

Optionally, the quality of service QoS parameter threshold includes asecond quality of service flow indicator QFI threshold; and thedetermining the V2X sidelink resource according to the configurationrule satisfies either of the following:

if the QFI of the to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the second QFI threshold,determining that the V2X sidelink resources are the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource; or ifthe QFI of the to-be-sent data packet of the first terminal device isless than or less than or equal to the second QFI threshold, determiningthat the V2X sidelink resources are the first-standard V2X sidelinkresource and the second-standard V2X sidelink resource.

In this solution, the to-be-sent data packet of the first terminaldevice has the corresponding QFI. If the QFI of the to-be-sent datapacket is greater than or greater than or equal to the second QFIthreshold, it is determined that the V2X sidelink resource is thefirst-standard V2X sidelink resource and the second-standard V2Xsidelink resource. In this way, if the larger QFI value indicates thehigher QoS requirement, and it is considered that using both thefirst-standard V2X sidelink resource and the second-standard V2Xsidelink resource can satisfy a high QoS requirement of data, anappropriate V2X sidelink resource may be selected, according to theforegoing method, for the data having the high QoS requirement, totransmit the data.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the second QFI threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource and the second-standard V2X sidelink resource. In this way, ifthe smaller QFI value indicates the higher QoS requirement, and it isconsidered that using both the first-standard V2X sidelink resource andthe second-standard V2X sidelink resource can satisfy a high QoSrequirement of data, an appropriate V2X sidelink resource may beselected, according to the foregoing method, for the data having thehigh QoS requirement, to transmit the data.

Optionally, the configuration rule includes the sidelink qualitythreshold, and the sidelink quality threshold includes a first channelbusy ratio CBR threshold and/or a second CBR threshold; and

the determining the V2X sidelink resource according to the configurationrule satisfies either of the following:

if a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is greater than or greater than or equal tothe first CBR threshold, and/or a second-standard V2X sidelink CBRobtained by the first terminal device through measurement is less thanor less than or equal to the second CBR threshold, determining that theV2X sidelink resource is a second-standard V2X sidelink resource; or

if a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is less than or less than or equal to thefirst CBR threshold, and/or a second-standard V2X sidelink CBR obtainedby the first terminal device through measurement is greater than orgreater than or equal to the second CBR threshold, determining that theV2X sidelink resource is a first-standard V2X sidelink resource.

In the foregoing solution, when the first-standard V2X sidelink CBRobtained through measurement is greater than or greater than or equal tothe first CBR threshold, it is determined that the V2X sidelink resourceis the second-standard V2X sidelink resource. In this way, the terminaldevice can select an idler V2X sidelink resource in real time totransmit data.

For example, when the second-standard V2X sidelink CBR obtained throughmeasurement is less than or less than or equal to the second CBRthreshold, it is determined that the V2X sidelink resource is thesecond-standard V2X sidelink resource. In this way, the terminal devicecan select an idler V2X sidelink resource in real time to transmit data.

For example, when the first-standard V2X sidelink CBR obtained throughmeasurement is greater than or greater than or equal to the first CBRthreshold, and/or the second-standard V2X sidelink CBR obtained by thefirst terminal device through measurement is less than or less than orequal to the second CBR threshold, it is determined that the V2Xsidelink resource is the second-standard V2X sidelink resource. In thisway, the terminal device can select an idler V2X sidelink resource inreal time to transmit data.

Optionally, the method further includes:

receiving, by the first terminal device, a measurement event sent by thenetwork device; and

-   -   the measurement event includes any one of the following:

a first-standard V2X sidelink channel busy ratio SL CBR is greater thanor greater than or equal to a second threshold, and/or a second-standardV2X SL CBR is less than or less than or equal to a third threshold;

a first-standard V2X SL CBR is less than or less than or equal to afourth threshold, and/or a second-standard V2X SL CBR is greater than orgreater than or equal to a fifth threshold;

a first-standard V2X SL CBR or a second-standard V2X SL CBR is greaterthan or greater than or equal to a sixth threshold, and a referencesignal received power RSRP or reference signal received quality RSRQ isgreater than or greater than or equal to a seventh threshold; or

a first-standard V2X SL CBR or a second-standard V2X SL CBR is less thanor less than or equal to an eighth threshold, and a RSRP or RSRQ is lessthan or less than or equal to a ninth threshold.

In this solution, to make the V2X sidelink resource determined by thenetwork device more proper, the network device may be enabled to learnof statuses of the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource that can be obtained by the firstterminal device, and even the network device may provide Uu interfaceselection for the first terminal device. The network device delivers ameasurement configuration to the first terminal device, and the firstterminal device measures V2X sidelinks after receiving the measurementconfiguration sent by the network device. The measurement configurationmay include the measurement event. When a measurement result of afirst-standard V2X sidelink and/or a measurement result of asecond-standard V2X sidelink that are/is obtained by the first terminaldevice through measurement satisfy/satisfies the event, the firstterminal device may send a measurement report to the network device. Themeasurement report includes the measurement result of the first-standardV2X sidelink and/or the measurement result of the second-standard V2Xsidelink. Optionally, the measurement report includes the measurementresult of the first-standard V2X sidelink and/or the measurement resultof the second-standard V2X sidelink that satisfy/satisfies themeasurement event. The network device allocates the V2X sidelinkresource to the first terminal device based on the measurement reportsent by the first terminal device.

Optionally, the method further includes:

obtaining, by the first terminal device, information indicating that thesecond terminal device supports the first-standard V2X service andinformation indicating that the second terminal device supports thesecond-standard V2X service; and

selecting, by the first terminal device, the V2X sidelink resource basedon the information indicating that the second terminal device supportsthe first-standard V2X service and the information indicating that thesecond terminal device supports the second-standard V2X service.

In this solution, before selecting the V2X sidelink resource, the firstterminal device first learns of whether the second terminal device cansupport the first-standard V2X service, whether the second terminaldevice can support the second-standard V2X service, or whether thesecond terminal device can support both the first-standard V2X serviceand the second-standard V2X service. In an implementation process, thefirst terminal device may obtain, by using a V2X control function(control function), from the network device, or by using an application(application, APP) installed in the first terminal device, whether thesecond terminal device can support the first-standard V2X service,whether the second terminal device can support the second-standard V2Xservice, or whether the second terminal device can support both thefirst-standard V2X service and the second-standard V2X service.

When learning of that the second terminal device can support both thefirst-standard V2X service and the second-standard V2X service, thefirst terminal device selects the V2X sidelink resource in the foregoingmanner, so that the selected resource is more proper.

Optionally, if the first terminal device learns of that the secondterminal device can support only the first-standard V2X service,correspondingly, the first terminal device selects the first-standardV2X sidelink resource. If the first terminal device learns of that thesecond terminal device can support only the second-standard V2X service,correspondingly, the first terminal device may select thesecond-standard V2X sidelink resource.

Optionally, the method further includes:

sending, by the first terminal device, a device identifier of the secondterminal device to the network device, where the device identifier isused to indicate the network device to allocate the V2X sidelinkresource to the first terminal device, or is used by the first terminaldevice to obtain, from the network device, the information indicatingthat the second terminal device supports the first-standard V2X serviceand the information indicating that the second terminal device supportsthe second-standard V2X service.

In this solution, the network device receives the device identifier,sent by the first terminal device, of the second terminal device. Thenetwork device obtains, based on the device identifier, the informationindicating that the second terminal device supports the first-standardV2X service and the information indicating that the second terminaldevice supports the second-standard V2X service, and determines the V2Xsidelink resource based on the information indicating that the secondterminal device supports the first-standard V2X service and theinformation indicating that the second terminal device supports thesecond-standard V2X service, so that the selected resource is moreproper.

Optionally, a first V2X sidelink and a second V2X sidelink use a sameV2X synchronization type and a same SL-V-RNTI.

In this solution, because both an LTE V2X sidelink and an NR V2Xsidelink are managed by the network device, a portion of configurationsof the LTE V2X sidelink may be the same as those of the NR V2X sidelink.For example, an SL-V-RNTI and a V2X synchronization type may be commonconfigurations. To be specific, the SL-V-RNTI and the V2Xsynchronization type are not configured by distinguishing between LTEand NR.

Because the first V2X sidelink and the second V2X sidelink use the sameV2X synchronization type and the same SL-V-RNTI, the first V2X sidelinkconfiguration and the second V2X sidelink configuration can besimplified.

In this case, the first-standard V2X sidelink configuration and thesecond-standard V2X sidelink configuration may include the LTE V2Xsidelink transmit resource information, the LTE V2X sidelink receiveresource information, the LTE V2X sidelink transmit power, the LTE V2Xsidelink MCS, the LTE V2X synchronization configuration, the NR V2Xsidelink receive resource information, the NR V2X sidelink transmitresource information, the NR V2X sidelink transmit power, the NR V2Xsidelink MCS, the NR V2X synchronization configuration, the commonSL-V-RNTI, and the common synchronization type.

Optionally, the method further includes:

obtaining, by the network device, any one or more of the followinginformation: information indicating that the first terminal devicesupports a first-standard V2X service, information indicating that thefirst terminal device supports a second-standard V2X service, grantinformation of the first terminal device, and sidelink aggregate maximumbit rates AMBRs of the first terminal device, where the sidelink AMBRsinclude a first-standard V2X sidelink AMBR and a second-standard V2Xsidelink AMBR; and

the sending, by a network device, a first-standard V2X sidelinkconfiguration and/or a second-standard V2X sidelink configuration to afirst terminal device includes:

sending, by the network device, the first-standard V2X sidelinkconfiguration and/or the second-standard V2X sidelink configuration tothe first terminal device based on the any one or more of theinformation indicating that the first terminal device supports thefirst-standard V2X service, the information indicating that the firstterminal device supports the second-standard V2X service, the grantinformation, and the sidelink AMBRs.

In the foregoing solution, the sidelink (sidelink) AMBRs may include thefirst-standard V2X sidelink (sidelink) AMBR and the second-standard V2Xsidelink (sidelink) AMBR. The sidelink (sidelink) AMBR is a maximum bitrate when the terminal device performs sidelink communication for a V2Xservice.

For example, the grant information may include at least one of thefollowing information: whether the first terminal device is granted as afirst-standard vehicle (Vehicle) terminal device, whether the firstterminal device is granted as a first-standard pedestrian (Pedestrian)terminal device, whether the first terminal device is granted as asecond-standard vehicle (Vehicle) terminal device, and whether the firstterminal device is granted as a second-standard pedestrian (Pedestrian)terminal device.

The network device sends the first-standard V2X sidelink configurationand/or the second-standard V2X sidelink configuration to the firstterminal device based on the any one or more of the informationindicating that the first terminal device supports the first-standardV2X service, the information indicating that the first terminal devicesupports the second-standard V2X service, the grant information, and thesidelink AMBRs, so that the first terminal device obtains the V2Xsidelink resource used for data transmission, and it can be ensured thata same terminal device can obtain the first-standard V2X service and thesecond-standard V2X service.

Optionally, the method further includes:

broadcasting, by the network device, a first message to the firstterminal device, where the first message may include any one, any two,or all of the following: an identifier of an area, a first-standard V2Xsidelink configuration corresponding to the area, and a second-standardV2X sidelink configuration corresponding to the area, the first-standardV2X sidelink configuration includes available first-standard V2Xsidelink resources, the second-standard V2X sidelink configurationincludes available second-standard V2X sidelink resources, and theidentifier of the area is used to indicate the first terminal device toselect at least one of the available first-standard V2X sidelinkresources and/or at least one of the available second-standard V2Xsidelink resources when the first terminal device is currently in thearea.

For example, the first message may include only any one of theidentifier of the area, the first-standard V2X sidelink configurationcorresponding to the area, and the second-standard V2X sidelinkconfiguration corresponding to the area. Alternatively, the firstmessage may include any two of the identifier of the area, thefirst-standard V2X sidelink configuration corresponding to the area, andthe second-standard V2X sidelink configuration corresponding to thearea. For example, the first message includes the identifier of the areaand the first-standard V2X sidelink configuration corresponding to thearea. Alternatively, the first message includes the identifier of thearea and the second-standard V2X sidelink configuration corresponding tothe area. Alternatively, the first message includes the first-standardV2X sidelink configuration corresponding to the area and thesecond-standard V2X sidelink configuration corresponding to the area.Alternatively, the first message may include all of the identifier ofthe area, the first-standard V2X sidelink configuration corresponding tothe area, and the second-standard V2X sidelink configurationcorresponding to the area.

In this solution, when determining an area in which the first terminaldevice is located, the first terminal device can select a resource fromavailable resources corresponding to the area, to transmit data. Forexample, the first terminal device may select the at least one of theavailable first-standard V2X sidelink resources as the V2X sidelinkresource, to transmit data; may select the at least one of the availablesecond-standard V2X sidelink resources as the V2X sidelink resource, totransmit data; or may select the at least one of the availablefirst-standard V2X sidelink resources and the at least one of theavailable second-standard V2X sidelink resources as the V2X sidelinkresources, to transmit data.

For example, the network device broadcasts a plurality of availableresources for the area, and the first terminal device selects one ormore available resources from the plurality of available resourcesbroadcast by the network device. For example, when performing carrieraggregation (carrier aggregation, CA), the first terminal device mayselect two or more available resources.

In the foregoing solution, when broadcasting a message to the firstterminal device, the network device can provide the V2X sidelinkconfigurations in the two standards for the first terminal device. Inthis way, the first terminal device can obtain the V2X sidelinkconfigurations in the two standards when the first terminal device is inan idle state, so that the first terminal device can also obtain thefirst-standard V2X service and the second-standard V2X service when thefirst terminal device is in the idle state.

Optionally, the method further includes:

receiving, by the network device, a second message sent by the firstterminal device, where the second message carries at least one piece ofinformation used to indicate a network standard;

determining, by the network device, the V2X sidelink resource based onthe network standard; and

sending, by the network device, the V2X sidelink resource to the firstterminal device.

In this solution, the first terminal device sends the second message tothe network device. The second message includes information used toindicate a sidelink radio access technology (radio access technology,RAT) type (type), for example, used to indicate whether the sidelinkradio access technology type is the first network standard or the secondnetwork standard, or used to indicate both the first network standardand the second network standard. The second message may be a schedulingreport (scheduling report, SR) or a buffer status report (buffer statusreport, BSR). When reporting the SR or the BSR, the first terminaldevice may use the SR or the BSR to carry the at least one piece ofinformation used to indicate the network standard.

After receiving the second message sent by the first terminal device,the network device determines the V2X sidelink resource based on theinformation that is used to indicate the network standard and that iscarried in the second message, and sends the V2X sidelink resource tothe first terminal device.

In the foregoing solution, the first terminal device can send, to thenetwork device, the information used to indicate the network standard.In this way, the network device sends the V2X sidelink resource to thefirst terminal device based on the network standard. Therefore, thefirst terminal device obtains the corresponding V2X sidelink resourceaccording to an actual requirement.

Optionally, the method further includes:

sending, by the network device, a configuration rule to the firstterminal device, where the configuration rule includes any one, any two,any three, or all of the following information: a mapping relationshipbetween a V2X service type and a resource, a mapping relationshipbetween a quality of service QoS parameter and a resource, a quality ofservice QoS parameter threshold, and a sidelink quality threshold, thesidelink quality threshold includes a first-standard V2X sidelinkquality threshold and/or a second-standard V2X sidelink qualitythreshold, and the configuration rule is used to indicate the firstterminal device to determine the V2X sidelink resource.

In the foregoing solution, the configuration rule may include the anyone, any two, any three, or all of the foregoing information. Forexample, the configuration rule may include the mapping relationshipbetween a V2X service type and a resource and the sidelink qualitythreshold. In this case, the first terminal device measures an LTE/NRV2X SL CBR. When the LTE/NR V2X SL CBR satisfies a threshold, the firstterminal device executes a mapping relationship, configured by thenetwork device, between a service type or a QoS parameter and aresource.

For example, the resource may be the first-standard V2X sidelinkresource, may be the second-standard V2X sidelink resource, or may bethe first-standard V2X sidelink resource and the second-standard V2Xsidelink resource.

For example, the quality of service QoS parameter may include any one,any two, or all of the following information: a prose per-packetpriority (prose per packet priority, PPPP), prose per-packet reliability(prose per packet reliability, PPPR), and quality of service flowindicator (QoS flow indicator, QFI).

For example, a sidelink quality parameter may include a channel busyratio (Channel Busy Ratio, CBR).

When the configuration rule includes the mapping relationship between aV2X service type and a resource, the first terminal device obtains,based on a type of a V2X service that needs to be transmitted, a V2Xsidelink resource corresponding to the type of the V2X service thatneeds to be transmitted.

After receiving the configuration rule sent by the network device, thefirst terminal device may determine the V2X sidelink resource accordingto the configuration rule. In this way, the first terminal device canobtain the first-standard V2X service and the second-standard V2Xservice based on the obtained V2X sidelink resource.

Optionally, the method further includes:

sending, by the network device, a measurement event to the firstterminal device; receiving, by the network device, a measurement reportsent by the first terminal device, where the measurement report is sentby the first terminal device when the first terminal device determinesthat the measurement event satisfies a preset condition;

determining, by the network device, the V2X sidelink resource based onthe measurement report; and

sending, by the network device, the V2X sidelink resource to the firstterminal device.

Optionally, the measurement event includes any one of the following:

a first-standard V2X sidelink channel busy ratio SL CBR is greater thanor greater than or equal to a second threshold, and/or a second-standardV2X SL CBR is less than or less than or equal to a third threshold;

a first-standard V2X SL CBR is less than or less than or equal to afourth threshold, and/or a second-standard V2X SL CBR is greater than orgreater than or equal to a fifth threshold;

a first-standard V2X SL CBR or a second-standard V2X SL CBR is greaterthan or greater than or equal to a sixth threshold, and a referencesignal received power RSRP or reference signal received quality RSRQ isgreater than or greater than or equal to a seventh threshold; or

a first-standard V2X SL CBR or a second-standard V2X SL CBR is less thanor less than or equal to an eighth threshold, and a RSRP or RSRQ is lessthan or less than or equal to a ninth threshold.

In this solution, if the first-standard V2X sidelink channel busy ratioSL CBR is greater than or greater than or equal to the second threshold,the second-standard V2X SL CBR is less than or less than or equal to thethird threshold, or when the first-standard V2X sidelink channel busyratio SL CBR is greater than or greater than or equal to the secondthreshold and the second-standard V2X SL CBR is less than or less thanor equal to the third threshold, it is determined that the V2X sidelinkresource is the second-standard V2X sidelink resource.

If the first-standard V2X SL CBR is less than or less than or equal tothe fourth threshold, the second-standard V2X SL CBR is greater than orgreater than or equal to the fifth threshold, or when the first-standardV2X SL CBR is less than or less than or equal to the fourth thresholdand the second-standard V2X SL CBR is greater than or greater than orequal to the fifth threshold, it is determined that the V2X sidelinkresource is the first-standard V2X sidelink resource.

If the first-standard V2X SL CBR is greater than or greater than orequal to the sixth threshold and the RSRP is greater than or greaterthan or equal to the seventh threshold, the second-standard V2X SL CBRis greater than or greater than or equal to the sixth threshold and theRSRP is greater than or greater than or equal to the seventh threshold,the first-standard V2X SL CBR is greater than or greater than or equalto the sixth threshold and the RSRQ is greater than or greater than orequal to the seventh threshold, or the second-standard V2X SL CBR isgreater than or greater than or equal to the sixth threshold and theRSRQ is greater than or greater than or equal to the seventh threshold,it is determined that the V2X sidelink resource is a Uu interfaceresource.

If the first-standard V2X SL CBR is less than or less than or equal tothe eighth threshold and the RSRP is less than or less than or equal tothe ninth threshold, the first-standard V2X SL CBR is less than or lessthan or equal to the eighth threshold and the RSRQ is less than or lessthan or equal to the ninth threshold, the second-standard V2X SL CBR isless than or less than or equal to the eighth threshold and the RSRP isless than or less than or equal to the ninth threshold, or thesecond-standard V2X SL CBR is less than or less than or equal to theeighth threshold and the RSRQ is less than or less than or equal to theninth threshold, it is determined that the V2X sidelink resource is thefirst-standard V2X sidelink resource.

If the first-standard V2X SL CBR is less than or less than or equal tothe eighth threshold and the RSRP is less than or less than or equal tothe ninth threshold, the first-standard V2X SL CBR is less than or lessthan or equal to the eighth threshold and the RSRQ is less than or lessthan or equal to the ninth threshold, the second-standard V2X SL CBR isless than or less than or equal to the eighth threshold and the RSRP isless than or less than or equal to the ninth threshold, or thesecond-standard V2X SL CBR is less than or less than or equal to theeighth threshold and the RSRQ is less than or less than or equal to theninth threshold, it is determined that the V2X sidelink resource is thesecond-standard V2X sidelink resource.

If the first-standard V2X SL CBR is less than or less than or equal to atenth threshold, and the second-standard V2X SL CBR is less than or lessthan or equal to an eleventh threshold, it is determined that the V2Xsidelink resources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource.

Optionally, the method further includes:

receiving, by the network device, a device identifier, sent by the firstterminal device, of the second terminal device;

obtaining, by the network device based on the device identifier,information indicating that the second terminal device supports thefirst-standard V2X service and information indicating that the secondterminal device supports the second-standard V2X service; and

determining, by the network device, the V2X sidelink resource based onthe information indicating that the second terminal device supports thefirst-standard V2X service and the information indicating that thesecond terminal device supports the second-standard V2X service.

In this solution, the network device receives the device identifier,sent by the first terminal device, of the second terminal device. Thenetwork device obtains, based on the device identifier, the informationindicating that the second terminal device supports the first-standardV2X service and the information indicating that the second terminaldevice supports the second-standard V2X service, and determines the V2Xsidelink resource based on the information indicating that the secondterminal device supports the first-standard V2X service and theinformation indicating that the second terminal device supports thesecond-standard V2X service, so that the selected resource is moreproper.

Optionally, the method further includes:

sending, by the network device to the first terminal device, theinformation indicating that the second terminal device supports thefirst-standard V2X service and the information indicating that thesecond terminal device supports the second-standard V2X service.

In this solution, when learning of that the second terminal device cansupport both the first-standard V2X service and the second-standard V2Xservice, the first terminal device selects the V2X sidelink resource inthe foregoing manner, so that the selected resource is more proper.

Optionally, the grant information includes at least one of the followinginformation: whether the first terminal device is granted as afirst-standard vehicle terminal device, whether the first terminaldevice is granted as a first-standard pedestrian terminal device,whether the first terminal device is granted as a second-standardvehicle terminal device, and whether the first terminal device isgranted as a second-standard pedestrian terminal device.

Optionally, a first V2X sidelink and a second V2X sidelink use a sameV2X synchronization type and a same SL-V-RNTI.

In this solution, because both an LTE V2X sidelink and an NR V2Xsidelink are managed by the network device, a portion of configurationsof the LTE V2X sidelink may be the same as those of the NR V2X sidelink.For example, an SL-V-RNTI and a V2X synchronization type may be commonconfigurations. To be specific, the SL-V-RNTI and the V2Xsynchronization type are not configured by distinguishing between LTEand NR.

Because the first V2X sidelink and the second V2X sidelink use the sameV2X synchronization type and the same SL-V-RNTI, the first V2X sidelinkconfiguration and the second V2X sidelink configuration can besimplified.

In this case, the first-standard V2X sidelink configuration and thesecond-standard V2X sidelink configuration may include the LTE V2Xsidelink transmit resource information, the LTE V2X sidelink receiveresource information, the LTE V2X sidelink transmit power, the LTE V2Xsidelink MCS, the LTE V2X synchronization configuration, the NR V2Xsidelink receive resource information, the NR V2X sidelink transmitresource information, the NR V2X sidelink transmit power, the NR V2Xsidelink MCS, the NR V2X synchronization configuration, the commonSL-V-RNTI, and the common synchronization type.

A second aspect of this application provides a communications apparatus.The communications apparatus has a function of implementing the firstterminal device in the first aspect. For example, the communicationsapparatus includes modules, units, or means (means) that correspond tothe steps performed by the first terminal device in the first aspect.The communications apparatus may also have a function of implementingthe network device in the first aspect. For example, the communicationsapparatus includes modules, units, or means (means) that correspond tothe steps performed by the network device in the first aspect. Thecommunications apparatus may also have a function of implementing thesecond terminal device in the first aspect. For example, thecommunications apparatus includes modules, units, or means (means) thatcorrespond to the steps performed by the second terminal device in thefirst aspect. The foregoing functions, modules, units, or means (means)may be implemented by software, may be implemented by hardware, or maybe implemented by hardware executing corresponding software.

An apparatus provided in the second aspect of this application may be aterminal device, or may be a chip inside a terminal device. The terminaldevice or the chip has a function of implementing the communicationmethod according to any one of the foregoing aspects or the possibledesigns of the foregoing aspects. The function may be implemented byhardware, or may be implemented by hardware executing correspondingsoftware. The hardware or the software includes one or more unitscorresponding to the foregoing function.

For example, the terminal device may include a processing unit. Theprocessing unit may be a processor. Optionally, the terminal devicefurther includes a transceiver unit. The transceiver unit may be atransceiver. The transceiver includes a radio frequency circuit.Optionally, the terminal device further includes a storage unit. Thestorage unit may be, for example, a memory. For example, when theterminal device includes the storage unit, the storage unit isconfigured to store a computer-executable instruction. The processingunit is connected to the storage unit. The processing unit executes thecomputer-executable instruction stored in the storage unit, so that theterminal device performs the communication method according to any oneof the foregoing aspects or the possible designs of the foregoingaspects.

For example, the chip may include a processing unit. The processing unitmay be a processor. Optionally, the chip further includes a transceiverunit. The transceiver unit may be an input/output interface, a pin, acircuit, or the like on the chip. The processing unit may execute acomputer-executable instruction stored in a storage unit, so that thechip performs the communication method according to any one of theforegoing aspects or the possible designs of the foregoing aspects.Optionally, the chip further includes the storage unit. The storage unitmay be a storage unit (for example, a register or a buffer) inside thechip. The storage unit may alternatively be a storage unit (for example,a read-only memory (read-only memory, ROM)) inside the terminal devicebut outside the chip, another type of static storage device (forexample, a random access memory (random access memory, RAM)) capable ofstoring static information and instructions, or the like.

The processor mentioned above may be a central processing unit (centralprocessing unit, CPU), a microprocessor, or an application specificintegrated circuit (application specific integrated circuit, ASIC), ormay be one or more integrated circuits for controlling program executionof the communication method according to any one of the foregoingaspects or the possible designs of the foregoing aspects.

In addition, the apparatus may alternatively be a network device, or maybe a chip inside a network device. The network device or the chip has afunction of implementing the communication method according to any oneof the foregoing aspects or the possible designs of the foregoingaspects. The function may be implemented by hardware, or may beimplemented by hardware executing corresponding software. The hardwareor the software includes one or more units corresponding to theforegoing function.

For example, the network device may include a processing unit. Theprocessing unit may be a processor. The network device may furtherinclude a transceiver unit. The transceiver unit may be a transceiver.The transceiver may include a radio frequency circuit. Optionally, thenetwork device further includes a storage unit. The storage unit may be,for example, a memory. For example, when the network device includes thestorage unit, the storage unit is configured to store acomputer-executable instruction. The processing unit is connected to thestorage unit. The processing unit executes the computer-executableinstruction stored in the storage unit, so that the network deviceperforms the communication method according to any one of the foregoingaspects or the possible designs of the foregoing aspects.

For example, the chip may include a processing unit. The processing unitmay be a processor. The chip may further include a transceiver unit. Thetransceiver unit may be an input/output interface, a pin, a circuit, orthe like on the chip. The processing unit may execute acomputer-executable instruction stored in a storage unit, so that thechip performs the communication method according to any one of theforegoing aspects or the possible designs of the foregoing aspects.Optionally, the chip further includes the storage unit. The storage unitmay be a storage unit (for example, a register or a buffer) inside thechip. The storage unit may alternatively be a storage unit (for example,a read-only memory (read-only memory, ROM)) inside the network devicebut outside the chip, another type of static storage device (forexample, a random access memory (random access memory, RAM)) capable ofstoring static information and instructions, or the like.

The processor mentioned above may be a central processing unit (centralprocessing unit, CPU), a microprocessor, or an application specificintegrated circuit (application specific integrated circuit, ASIC), ormay be one or more integrated circuits for controlling program executionof the communication method according to any one of the foregoingaspects or the possible designs of the foregoing aspects.

For example, the third aspect of the embodiments of this applicationprovides a terminal device, including a memory and a processor. Thememory is configured to store a computer program. The computer programis run on the processor, so that the terminal device implements afunction of the first terminal device in the first aspect.

For example, a fourth aspect of the embodiments of this applicationprovides a network device, including a memory and a processor. Thememory is configured to store a computer program. The computer programis run on the processor, so that the network device implements afunction of the network device in the first aspect.

A fifth aspect of the embodiments of this application provides acomputer-readable storage medium, configured to store a computerinstruction. When the computer instruction is run on a computer, thecomputer is enabled to perform the communication method according to thefirst aspect of the embodiments of this application.

A sixth aspect of the embodiments of this application provides acomputer program product including an instruction. When the computerprogram product runs on a computer, the computer is enabled to performthe communication method according to the first aspect of theembodiments of this application.

For example, a seventh aspect of the embodiments of this applicationprovides a chip, including a memory and a processor. The memory isconfigured to store a computer program. The processor is configured toinvoke the computer program from the memory and run the computerprogram, so that the processor performs the communication methodaccording to the first aspect.

An eighth aspect of the embodiments of this application provides acommunications system, including the foregoing network devices and/orterminal devices in various forms.

According to the communication method, the apparatus, and the storagemedium provided in this application, the first terminal device receivesthe first-standard V2X sidelink configuration and the second-standardV2X sidelink configuration from the network device, obtains, based onthe first-standard V2X sidelink configuration and the second-standardV2X sidelink configuration, the V2X sidelink resource used for datatransmission, and then, communicates with the second terminal device onthe V2X sidelink resource. The first terminal device may obtain thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration from the network device, thereby determining,based on the foregoing two configurations, that the V2X sidelinkresource used for data transmission is the first-standard V2X sidelinkresource and/or the second-standard V2X sidelink resource, so that thefirst terminal device performs first-standard V2X service communicationand/or second-standard V2X service communication with the secondterminal device based on the determined V2X sidelink resource. In thisway, it can be ensured that a same terminal device can obtain thefirst-standard V2X service and the second-standard V2X service.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a schematic architectural diagram of a V2X service;

FIG. 2a and FIG. 2b are respectively a schematic diagram of datatransmission of a V2X service in an LTE system and a schematic diagramof data transmission of a V2X service in an NR system;

FIG. 3 is a signaling flowchart of a communication method according tothis application;

FIG. 4 is a schematic structural diagram of a communications apparatusaccording to an embodiment of this application;

FIG. 5 is another schematic structural diagram of a communicationsapparatus according to an embodiment of this application;

FIG. 6 is a schematic structural diagram of a terminal device accordingto an embodiment of this application; and

FIG. 7 is a schematic structural diagram of a base station according toan embodiment of this application.

DESCRIPTION OF EMBODIMENTS

A network architecture and a service scenario that are described inembodiments of this application are intended to describe the technicalsolutions in the embodiments of this application more clearly, and donot constitute a limitation on the technical solutions provided in theembodiments of this application. A person of ordinary skill in the artmay know that with evolution of the network architecture and emergenceof a new service scenario, the technical solutions provided in theembodiments of this application are also applicable to similar technicalproblems.

In the following, some terms in this application are explained anddescribed, to facilitate understanding of the terms for a person skilledin the art.

(1) A terminal device may also be referred to as user equipment (userequipment, UE), an access terminal device, a subscriber unit, asubscriber station, a mobile station, a remote station, a remoteterminal device, a mobile device, a user terminal device, a terminaldevice, a wireless communication device, a user agent, or a userapparatus. The terminal device may be a station (station, ST) in awireless local area network (wireless local area networks, WLAN), or maybe a cellular phone, a cordless phone, a session initiation protocol(session initiation protocol, SIP) phone, a wireless local loop(wireless local loop, WLL) station, a personal digital assistant(personal digital assistant, PDA) device, a handheld device having awireless communication function, a computing device or anotherprocessing device connected to a wireless modem, a vehicle-mounteddevice, a wearable device, and a terminal device in a next-generationcommunications system, for example, in a fifth-generation(fifth-generation, 5G) communications network, a terminal device in afuture evolved public land mobile network (public land mobile network,PLMN), a terminal device in a new radio (new radio, NR) communicationssystem, or the like.

By way of example rather than limitation, in the embodiments of thisapplication, the terminal device may alternatively be a wearable device.The wearable device may also be referred to as a wearable intelligentdevice, and is a generic name of wearable devices developed byintelligently designing daily wear by using a wearable technology, forexample, glasses, gloves, a watch, clothing, and shoes. The wearabledevice is a portable device that can be directly worn on a body orintegrated into clothes or an accessory of a user. The wearable deviceis not merely a hardware device, but is used to implement a powerfulfunction through software support, a data exchange, and cloudinteraction. Generalized wearable intelligent devices includefull-featured and large-size devices that can implement complete orpartial functions without depending on smartphones, for example, smartwatches or smart glasses, and devices that focus only on one type ofapplication function and may work with other devices such assmartphones, for example, various smart bands or smart jewelry formonitoring physical signs.

For example, the terminal device may further include a drone, forexample, an airborne communications device on the drone.

(2) A network device may be a device configured to communicate with amobile device. The network device may be an access point (access point,AP) in the WLAN, a base transceiver station (base transceiver station,BTS) in GSM or CDMA, a NodeB (NodeB, NB) in WCDMA, an evolved Node B(evolved NodeB, eNB or eNodeB) in LTE, a relay station or an accesspoint, a vehicle-mounted device, a wearable device, a network device inthe future 5G network, a network device in the future evolved PLMNnetwork, a new generation NodeB (new generation NodeB, gNodeB) in the NRsystem, or the like.

(3) V2X is a type of a communication service for which a V2V applicationis used, is transmitted through the 3GPP system, and includes a V2Iservice, a V2N service, a V2P service, and a V2V service. Participantsof the V2I service include a terminal device and a roadwayinfrastructure.

Participants of the V2N service include a terminal device and a serviceentity, and communicate with each other by using a network device. Twoparticipants in either of the V2P service and the V2V service are bothterminal devices.

(4) A unit in this application is a functional unit or a logical unit.The unit may be in a form of software, and implements a function of theunit by a processor executing program code. Alternatively, the unit maybe in a form of hardware.

(5) “A plurality of” means two or more, and another quantifier issimilar to this. The term “and/or” describes an association relationshipbetween associated objects and represents that three relationships mayexist. For example, A and/or B may represent the following three cases:Only A exists, both A and B exist, and only B exists. The character “/”generally indicates an “or” relationship between the associated objects.A range described by using “above”, “below”, or the like includes aboundary point.

A person skilled in the art may understand that a communication methodprovided in the embodiments of this application may be applied to V2Xservices in a 5th generation (5th generation, 5G) network and LTE. FIG.1 is a schematic architectural diagram of a V2X service. As shown inFIG. 1, the V2X service includes a V2I service, a V2N service, a V2Pservice, and a V2V service. The V2X service may be transmitted through aPC5 interface or a Uu interface.

Optionally, a first-standard V2X service in the embodiments of thisapplication is an LTE V2X service, or is an NR V2X service.Correspondingly, a second-standard V2X service may be an NR V2X service,or may be an LTE V2X service. Optionally, first-standard V2X andsecond-standard V2X are alternatively wireless fidelity (wirelessfidelity, Wi-Fi). Different standards may alternatively be accesstechnologies for which different spectrum resources, different encodingand decoding technologies, different subcarrier spacings, differenttransmission timings (transmission timing), different CP lengths,different modulation and demodulation technologies, or differenttransmission time intervals are used.

In the embodiments of this application, an example in which thefirst-standard V2X service is an LTE V2X service and the second-standardV2X service is an NR V2X service is used for description. When thefirst-standard V2X service and the second-standard V2X service are otherV2X technologies that support the V2X service, a specific communicationmanner may be similar to that used when the first-standard V2X serviceis the LTE V2X service and the second-standard V2X service is the NR V2Xservice. Details are not described herein again.

FIG. 2a and FIG. 2b are respectively a schematic diagram of datatransmission of a V2X service in an LTE system and a schematic diagramof data transmission of a V2X service in an NR system. FIG. 2a shows acase in which an LTE V2X sidelink (sidelink) resource and an NR V2Xsidelink resource are managed by using an eNodeB (eNB) in LTE. For theV2X service, data may be transmitted between the eNB and a firstterminal device through a Uu interface, and then the V2X service istransmitted to a second terminal device by using a network side; or datamay be directly transmitted through an LTE PC5 interface and/or an NRPC5 interface between a first terminal device and a second terminaldevice.

FIG. 2b shows a case in which an LTE V2X sidelink (sidelink) resourceand an NR V2X sidelink resource are managed by using a gNB (gNB) in NR.For the V2X service, data may be transmitted between the gNB and a firstterminal device through a Uu interface, and then the V2X service istransmitted to a second terminal device by using a network side; or datamay be directly transmitted through an LTE PC5 interface and/or an NRPC5 interface between a first terminal device and a second terminaldevice.

The V2X service may be, for example, an IP, a non-IP, V2V, V2I, V2N,V2P, a provider service identifier (provider service identifier, PSID),or an intelligent transport systems application identifier (intelligenttransport systems application identifier, ITS-AID).

Based on the system architectures shown in FIG. 1, FIG. 2a , and FIG. 2b, the embodiments of this application provide the communication method.The first terminal device receives a first-standard V2X sidelinkconfiguration and a second-standard V2X sidelink configuration from anetwork device, obtains, based on the first-standard V2X sidelinkconfiguration and the second-standard V2X sidelink configuration, a V2Xsidelink resource used for data transmission, and then communicates withthe second terminal device on the V2X sidelink resource. The firstterminal device may obtain the first-standard V2X sidelink configurationand the second-standard V2X sidelink configuration from the networkdevice, thereby determining, based on the foregoing two configurations,that the V2X sidelink resource used for data transmission is thefirst-standard V2X sidelink resource and/or the second-standard V2Xsidelink resource, so that the first terminal device performs V2Xservice communication with the second terminal device based on thedetermined V2X sidelink resource. In this way, it can be ensured that asame terminal device can obtain a first-standard V2X service and asecond-standard V2X service.

FIG. 3 is a signaling flowchart of a communication method according tothis application. Based on the system architectures shown in FIG. 1,FIG. 2a , and FIG. 2b , as shown in FIG. 3, the method in thisembodiment may include the following steps.

Step 301: A network device sends a first-standard V2X sidelinkconfiguration and/or a second-standard V2X sidelink configuration to thefirst terminal device.

In this embodiment, the network device may be a base stationcorresponding to a first standard, or may be a base stationcorresponding to a second standard. To be specific, a base station in astandard uniformly manages a first-standard V2X sidelink (sidelink) anda second-standard V2X sidelink (sidelink).

The network device may send the first-standard V2X sidelink (sidelink)configuration and/or the second-standard V2X sidelink (sidelink)configuration to the first terminal device in a broadcast manner or byusing dedicated signaling. When the network device sends thefirst-standard V2X sidelink (sidelink) configuration and/or thesecond-standard V2X sidelink (sidelink) configuration to the firstterminal device by using the dedicated signaling, the network deviceusually first generates the first-standard V2X sidelink (sidelink)configuration and/or the second-standard V2X sidelink (sidelink)configuration locally, and then, sends the two configurations by usinghigher layer signaling.

For example, in a possible implementation, when the network device sendsthe first-standard V2X sidelink configuration and/or the second-standardV2X sidelink configuration, the network device first obtains at leastone of information indicating that the first terminal device supports afirst-standard V2X service, information indicating that the firstterminal device supports a second-standard V2X service, grantinformation of the first terminal device, and sidelink (sidelink)aggregate maximum bit rates (aggregate maximum bit rate, AIVIBR) of thefirst terminal device. For example, the network device obtains any oneof the information indicating that the first terminal device supportsthe first-standard V2X service, the information indicating that thefirst terminal device supports the second-standard V2X service, thegrant information of the first terminal device, and the sidelink(sidelink) AMBRs of the first terminal device, may obtain any two of theinformation indicating that the first terminal device supports thefirst-standard V2X service, the information indicating that the firstterminal device supports the second-standard V2X service, the grantinformation of the first terminal device, and the sidelink (sidelink)AMBRs of the first terminal device, or may obtain any three of theinformation indicating that the first terminal device supports thefirst-standard V2X service, the information indicating that the firstterminal device supports the second-standard V2X service, the grantinformation of the first terminal device, and the sidelink (sidelink)AMBRs of the first terminal device. For example, the network device mayalternatively obtain all of the information indicating that the firstterminal device supports the first-standard V2X service, the informationindicating that the first terminal device supports the second-standardV2X service, the grant information of the first terminal device, and thesidelink (sidelink) AMBRs of the first terminal device.

Then, the network device may send the first-standard V2X sidelinkconfiguration and/or the second-standard V2X sidelink configuration tothe first terminal device based on the at least one of the informationindicating that the first terminal device supports the first-standardV2X service, the information indicating that the first terminal devicesupports the second-standard V2X service, the grant information of thefirst terminal device, and the sidelink (sidelink) AMBRs of the firstterminal device.

The sidelink (sidelink) AMBRs may include a first-standard V2X sidelink(sidelink) AMBR and a second-standard V2X sidelink (sidelink) AMBR. Forexample, the grant information may include at least one of the followinginformation: whether the first terminal device is granted as afirst-standard vehicle (Vehicle) terminal device, whether the firstterminal device is granted as a first-standard pedestrian (Pedestrian)terminal device, whether the first terminal device is granted as asecond-standard vehicle (Vehicle) terminal device, and whether the firstterminal device is granted as a second-standard pedestrian (Pedestrian)terminal device. The first terminal device first obtains the informationindicating that the first terminal device supports the first-standardV2X service and the information indicating that the first terminaldevice supports the second-standard V2X service that may be specificallycapability indication information indicating that the first terminaldevice supports the first-standard V2X service and capability indicationinformation indicating that the first terminal device supports thesecond-standard V2X service.

Optionally, the network device also broadcasts, to the first terminaldevice, a V2X supporting status of the network device. The V2X servicesupporting status of the network device may include any one, any two, orall of the following: The network device supports only thefirst-standard V2X service; the network device supports only thesecond-standard V2X service; or the network device supports both thefirst-standard V2X service and the second-standard V2X service. In thiscase, the first terminal device may select a base station that matches acapability of the first terminal device, to camp on or access the basestation. For example, if the first terminal device supports both thefirst-standard V2X service and the second-standard V2X service, thefirst terminal device may select, under an equal condition, a networkdevice that supports both the first-standard V2X service and thesecond-standard V2X service, to access the network device. After theaccess, the first terminal device sends, to the network device, theinformation indicating that the first terminal device supports thefirst-standard V2X service and the information indicating that the firstterminal device supports the second-standard V2X service.

Optionally, when the first terminal device performs registrationauthentication on a core network device, the core network device sendsthe grant information of the first terminal device to the networkdevice, the core network device sends the sidelink (sidelink) AMBRs tothe network device, or the core network device sends the grantinformation of the first terminal device and the sidelink (sidelink)AMBRs of the first terminal device to the network device.

Further, the network device may alternatively obtain the informationindicating that the first terminal device supports the first-standardV2X service, the information indicating that the first terminal devicesupports the second-standard V2X service, the grant information of thefirst terminal device, and the sidelink (sidelink) AMBRs of the firstterminal device from a source base station or the core network device ina handover scenario. Optionally, in a dual connectivity DC scenario, thenetwork device alternatively obtains the foregoing information from aprimary base station.

Further, after the network device determines, based on the informationindicating that the first terminal device supports the first-standardV2X service and the information indicating that the first terminaldevice supports the second-standard V2X service, that the first terminaldevice supports the first-standard V2X service and the second-standardV2X service, and determines that the first terminal device is granted,the network device may configure the first-standard V2X sidelinkconfiguration and/or the second-standard V2X sidelink configuration forthe first terminal device.

For example, the first standard is LTE, and the second standard is NR.The first-standard V2X sidelink configuration includes at least one ofthe following information: LTE V2X sidelink transmit resourceinformation, LTE V2X sidelink receive resource information, an LTE V2Xsidelink transmit power, an LTE V2X sidelink modulation and codingscheme (modulation and coding scheme, MCS), an LTE sidelinkvehicle-to-everything radio network temporary identifier(sidelink-V2X-radio network temporary identifier, SL-V-RNTI), an LTE V2Xsynchronization type, and an LTE V2X synchronization configuration. Thesecond-standard V2X sidelink configuration includes at least one of thefollowing information: NR V2X sidelink receive resource information, NRV2X sidelink transmit resource information, an NR V2X sidelink transmitpower, an NR V2X sidelink MCS, an NR SL-V-RNTI, an NR V2Xsynchronization type, and an NR V2X synchronization configuration.

Optionally, the first V2X sidelink and the second V2X sidelink use asame V2X synchronization type and a same SL-V-RNTI.

For example, because both an LTE V2X sidelink and an NR V2X sidelink aremanaged by the network device, a portion of configurations of the LTEV2X sidelink may be the same as those of the NR V2X sidelink. Forexample, an SL-V-RNTI and a V2X synchronization type may be commonconfigurations. To be specific, the SL-V-RNTI and the V2Xsynchronization type are not configured by distinguishing between LTEand NR.

Because the first V2X sidelink and the second V2X sidelink use the sameV2X synchronization type and the same SL-V-RNTI, the first V2X sidelinkconfiguration and the second V2X sidelink configuration can besimplified.

In this case, the first-standard V2X sidelink configuration and thesecond-standard V2X sidelink configuration may include the LTE V2Xsidelink transmit resource information, the LTE V2X sidelink receiveresource information, the LTE V2X sidelink transmit power, the LTE V2Xsidelink MCS, the LTE V2X synchronization configuration, the NR V2Xsidelink receive resource information, the NR V2X sidelink transmitresource information, the NR V2X sidelink transmit power, the NR V2Xsidelink MCS, the NR V2X synchronization configuration, the commonSL-V-RNTI, and the common synchronization type.

Step 302: The first terminal device obtains, based on the first-standardV2X sidelink configuration and/or the second-standard V2X sidelinkconfiguration, a V2X sidelink resource used for data transmission.

In this embodiment, after the first terminal device receives thefirst-standard V2X sidelink configuration and/or the second-standard V2Xsidelink configuration that are/is sent by the network device, the firstterminal device may select, from available first-standard V2X sidelinkresources included in the first-standard V2X sidelink configuration andavailable second-standard V2X sidelink resources included in thesecond-standard V2X sidelink configuration, a first-standard V2Xsidelink resource to transmit data, a second-standard V2X sidelinkresource to transmit data, or a first-standard V2X sidelink resource anda second-standard V2X sidelink resource to transmit data. Alternatively,the first terminal device may request a first-standard V2X sidelinkresource and/or a second-standard V2X sidelink resource from the networkdevice based on the first-standard V2X sidelink configuration and thesecond-standard V2X sidelink configuration, to transmit data.

That is, a manner in which the first terminal device obtains the V2Xsidelink resource used for data transmission may be that the firstterminal device determines the V2X sidelink resource, or may be that thefirst terminal device receives the V2X sidelink resource allocated bythe network device.

The following describes, by using an example, the manner in which thefirst terminal device obtains the V2X sidelink resource used for datatransmission.

In a possible implementation, that the first terminal device obtains theV2X sidelink resource used for data transmission includes: receiving, bythe first terminal device, a first message broadcast by the networkdevice, where the first message may include any one, any two, or all ofan identifier of an area, a first-standard V2X sidelink configurationcorresponding to the area, and a second-standard V2X sidelinkconfiguration corresponding to the area, the first-standard V2X sidelinkconfiguration includes available first-standard V2X sidelink resources,and the second-standard V2X sidelink configuration includes availablesecond-standard V2X sidelink resources; and selecting, by the firstterminal device based on an area in which the first terminal device iscurrently located, at least one of available first-standard V2X sidelinkresources corresponding to the area and/or at least one of availablesecond-standard V2X sidelink resources corresponding to the area.

For example, the first message may include only any one of theidentifier of the area, the first-standard V2X sidelink configurationcorresponding to the area, and the second-standard V2X sidelinkconfiguration corresponding to the area. Alternatively, the firstmessage may include any two of the identifier of the area, thefirst-standard V2X sidelink configuration corresponding to the area, andthe second-standard V2X sidelink configuration corresponding to thearea. For example, the first message includes the identifier of the areaand the first-standard V2X sidelink configuration corresponding to thearea. Alternatively, the first message includes the identifier of thearea and the second-standard V2X sidelink configuration corresponding tothe area. Alternatively, the first message includes the first-standardV2X sidelink configuration corresponding to the area and thesecond-standard V2X sidelink configuration corresponding to the area.Alternatively, the first message may include all of the identifier ofthe area, the first-standard V2X sidelink configuration corresponding tothe area, and the second-standard V2X sidelink configurationcorresponding to the area.

For example, the V2X service may be transmitted through the PC5interface, and a communication mode through the PC5 interface may befurther classified into two modes: a mode 3 mode and a mode 4 mode. Inthe mode 3 mode, each time a terminal device sends data, the terminaldevice needs to request a resource from the network device. In the mode4 mode, the terminal device continues to send data by contending for aresource from common resources allocated by the network device. Thecommon resources may be related to a location, or may be allocated bythe network device to the terminal device by using dedicated signalingand not be related to a location.

Optionally, to support the mode 4 mode, the network device broadcaststhe first message in a cell. The first message includes the identifierof the one or more areas, the first-standard V2X sidelink configurationcorresponding to the area, and the second-standard V2X sidelinkconfiguration corresponding to the area. The first-standard V2X sidelinkconfiguration includes the available first-standard V2X sidelinkresources, and the second-standard V2X sidelink configuration includesthe available second-standard V2X sidelink resources. When determiningthe area in which the first terminal device is located, the firstterminal device may select a resource from available resourcescorresponding to the area, to transmit data. For example, the firstterminal device may select the at least one of the availablefirst-standard V2X sidelink resources as the V2X sidelink resource, totransmit data; may select the at least one of the availablesecond-standard V2X sidelink resources as the V2X sidelink resource, totransmit data; or may select the at least one of the availablefirst-standard V2X sidelink resources and the at least one of theavailable second-standard V2X sidelink resources as the V2X sidelinkresources, to transmit data. Optionally, when the first terminal deviceselects both the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource to transmit data, the firstterminal device performs a duplication (duplication) operation. To bespecific, the first terminal device sends same data or signaling on thefirst-standard V2X sidelink resource and the second-standard V2Xsidelink resource.

For example, the network device broadcasts a plurality of availableresources for the area, and the first terminal device selects one ormore available resources from the plurality of available resourcesbroadcast by the network device. For example, when performing carrieraggregation (carrier aggregation, CA), the first terminal device mayselect two or more available resources.

In the foregoing solution, when broadcasting a message to the firstterminal device, the network device can provide the V2X sidelinkconfigurations in the two standards for the first terminal device. Inthis way, the first terminal device can obtain the V2X sidelinkconfigurations in the two standards when the first terminal device is inan idle state, so that the first terminal device can also obtain thefirst-standard V2X service and the second-standard V2X service when thefirst terminal device is in an idle state.

Optionally, the first message broadcast by the network device to thefirst terminal device includes both the V2X sidelink configurations inthe two different standards, the indication information used to indicatethat the first-standard V2X service is supported, and the indicationinformation used to indicate that the second-standard V2X service issupported. Optionally, the first message includes only thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration. In this case, after the first terminal devicereceives the foregoing configurations, the first terminal device maydetermine, based on the foregoing configurations, that the networksupports the first-standard V2X service and the second-standard V2Xservice. For example, if the first message includes first-standard V2Xsidelink transmit resource information and second-standard V2X sidelinktransmit resource information, the first terminal device may determinethat the network device can support both the first-standard V2X serviceand the second-standard V2X service. In addition, the network deviceprovides the available first-standard V2X sidelink sidelink resourcesand the available second-standard V2X sidelink sidelink resources.Optionally, the network device alternatively broadcasts only one type ofV2X sidelink configuration, or one type of V2X sidelink configurationand indication information indicating that one type of V2X service issupported. The V2X service may be the first-standard V2X service, or maybe the second-standard V2X service.

Optionally, in consideration of an access network (Radio Access Network,RAN) sharing scenario, information broadcast by the network devicecorresponds to a public land mobile network (public land mobile network,PLMN) in this case. For example, when the first terminal device supportsa plurality of PLMNs, a plurality of sets of information broadcast bythe foregoing network device may correspond to the plurality of PLMNs.

Further, when obtaining the V2X sidelink resource, the first terminaldevice may first obtain information indicating that the second terminaldevice supports the first-standard V2X service and informationindicating that the second terminal device supports the second-standardV2X service, and then, select the V2X sidelink resource based on theinformation indicating that the second terminal device supports thefirst-standard V2X service and the information indicating that thesecond terminal device supports the second-standard V2X service.

For example, before selecting the V2X sidelink resource, the firstterminal device first learns of whether the second terminal device cansupport the first-standard V2X service, whether the second terminaldevice can support the second-standard V2X service, or whether thesecond terminal device can support both the first-standard V2X serviceand the second-standard V2X service. In an implementation process, thefirst terminal device may obtain, by using a V2X control function(control function), from the network device, or by using an application(application, APP) installed in the first terminal device, whether thesecond terminal device can support the first-standard V2X service,whether the second terminal device can support the second-standard V2Xservice, or whether the second terminal device can support both thefirst-standard V2X service and the second-standard V2X service.

For example, the first terminal device may obtain, from the networkdevice, the information indicating that the second terminal devicesupports the first-standard V2X service and the information indicatingthat the second terminal device supports the second-standard V2Xservice. An implementation includes: sending, by the first terminaldevice, an identifier of the second terminal device to the networkdevice; obtaining, by the network device based on the identifier of thesecond terminal device, the information indicating that the secondterminal device supports the first-standard V2X service and theinformation indicating that the second terminal device supports thesecond-standard V2X service; and sending the information indicating thatthe second terminal device supports the first-standard V2X service andthe information indicating that the second terminal device supports thesecond-standard V2X service to the first terminal device.

When learning of that the second terminal device can support both thefirst-standard V2X service and the second-standard V2X service, thefirst terminal device selects the V2X sidelink resource in the foregoingmanner.

Optionally, if the first terminal device learns of that the secondterminal device can support only the first-standard V2X service,correspondingly, the first terminal device selects the first-standardV2X sidelink resource. Alternatively, if the first terminal devicelearns of that the second terminal device can support only thesecond-standard V2X service, correspondingly, the first terminal devicemay select the second-standard V2X sidelink resource.

In another possible implementation, that the first terminal deviceobtains the V2X sidelink resource used for data transmission includes:sending, by the first terminal device, a second message to the networkdevice, where the second message carries at least one piece ofinformation used to indicate a network standard; and receiving, by thefirst terminal device, a V2X sidelink resource sent by the networkdevice based on the network standard.

For example, to support a mode 3 mode, the first terminal device needsto request a resource from the network device each time before sendingdata. The first terminal device sends the second message to the networkdevice. The second message includes information used to indicate asidelink radio access technology (radio access technology, RAT) type(type), for example, used to indicate whether the sidelink radio accesstechnology type is the first standard or the second standard, or used toindicate both the first standard and the second standard.

After receiving the second message sent by the first terminal device,the network device determines the V2X sidelink resource based on theinformation that is used to indicate the network standard and that iscarried in the second message, and sends the V2X sidelink resource tothe first terminal device. For example, if the second message carriesinformation used to indicate the first standard, the network devicedetermines that the V2X sidelink resource is the first-standard V2Xsidelink resource. If the second message carries information used toindicate the second standard, the network device determines that the V2Xsidelink resource is the second-standard V2X sidelink resource. If thesecond message carries information used to indicate the first standardand the second standard, the network device determines that the V2Xsidelink resources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource.

For example, the second message may be a scheduling report (schedulingreport, SR) or a buffer status report (buffer status report, BSR). Whenreporting the SR or the BSR, the first terminal device may use the SR orthe BSR to carry the at least one piece of information used to indicatethe network standard. For a semi-persistent scheduling (semi-persistentscheduling, SPS) configuration, the second message may be terminaldevice assistance information (UE Assistance Information). When sendingthe UE assistance information message to the network device, the firstterminal device uses the UE assistance information message to carry aservice mode and the at least one piece of information used to indicatethe network standard. The semi-persistent configuration may also bereferred to as a configured grant (configured grant) configuration, andmay be of a type 1 or a type 2. The terminal device assistanceinformation message is used to request a network side to allocate aconfigured grant resource.

The first terminal device can send, to the network device, theinformation used to indicate the network standard. In this way, thenetwork device sends the V2X sidelink resource to the first terminaldevice based on the network standard. Therefore, the first terminaldevice obtains the corresponding V2X sidelink resource according to anactual requirement.

Further, the network device may allocate the V2X sidelink resource tothe first terminal device with reference to information indicating thatthe second terminal device supports the first-standard V2X service andinformation indicating that the second terminal device supports thesecond-standard V2X service. For example, the network device receives adevice identifier, sent by the first terminal device, of the secondterminal device. The network device obtains, based on the deviceidentifier, the information indicating that the second terminal devicesupports the first-standard V2X service and the information indicatingthat the second terminal device supports the second-standard V2Xservice, and determines the V2X sidelink resource based on theinformation indicating that the second terminal device supports thefirst-standard V2X service and the information indicating that thesecond terminal device supports the second-standard V2X service, so thatthe determined V2X sidelink resource is more proper.

In still another possible implementation, that the first terminal deviceobtains the V2X sidelink resource used for data transmission includes:receiving, by the first terminal device, a configuration rule sent bythe network device, where the configuration rule includes any one, anytwo, any three, or all of the following information: a mappingrelationship between a V2X service type and a resource, a mappingrelationship between a quality of service QoS (quality of service, QoS)parameter and a resource, a quality of service QoS parameter threshold,and a sidelink quality threshold, and the sidelink quality thresholdincludes a first-standard V2X sidelink quality threshold and/or asecond-standard V2X sidelink quality threshold; and determining, by thefirst terminal device, the V2X sidelink resource according to theconfiguration rule.

For example, the network device may deliver the configuration rule tothe first terminal device. In this way, the first terminal device mayobtain, according to the configuration rule, the V2X sidelink resourceused for data transmission. The configuration rule may include the anyone, any two, any three, or all of the foregoing information. Forexample, the configuration rule may include the mapping relationshipbetween a V2X service type and a resource and the sidelink qualitythreshold. In this case, the first terminal device measures an LTE/NRV2X sidelink CBR. When the LTE/NR V2X SL CBR satisfies a threshold, thefirst terminal device executes a mapping relationship, configured by thenetwork device, between a service type or a QoS parameter and aresource.

For example, the resource may be the first-standard V2X sidelinkresource, may be the second-standard V2X sidelink resource, or may bethe first-standard V2X sidelink resource and the second-standard V2Xsidelink resource.

For example, the quality of service QoS parameter may include any one,any two, or all of the following information: a prose per-packetpriority (prose per packet priority, PPPP), prose per-packet reliability(prose per packet reliability, PPPR), and quality of service flowindicator (QoS flow indicator, QFI). The quality of service flowindicator may alternatively be a 5QI (5G QoS Identifier) or a prioritylevel (priority level).

For example, a sidelink quality parameter may include a channel busyratio (Channel Busy Ratio, CBR).

When the configuration rule includes the mapping relationship between aV2X service type and a resource, the first terminal device obtains,based on a type of a V2X service that needs to be transmitted, a V2Xsidelink resource corresponding to the type of the V2X service thatneeds to be transmitted. For example, different V2X service types areserved by V2X sidelink resources in different standards. For example, afirst V2X service corresponds to the first-standard V2X sidelinkresource, and a second V2X service corresponds to the second-standardV2X sidelink resource. When the first terminal device needs to transmitthe first V2X service, the first terminal device obtains thefirst-standard V2X sidelink resource. When the first terminal deviceneeds to transmit the second V2X service, the first terminal deviceobtains the second-standard V2X sidelink resource. When the firstterminal device needs to transmit both the first V2X service and thesecond V2X service, the first terminal device obtains the first-standardV2X sidelink resource and the second-standard V2X sidelink resource.

After receiving the configuration rule sent by the network device, thefirst terminal device may determine the V2X sidelink resource accordingto the configuration rule. In this way, the first terminal device canobtain the first-standard V2X service and the second-standard V2Xservice based on the obtained V2X sidelink resource.

Optionally, when the configuration rule includes the mappingrelationship between a quality of service QoS parameter and a resource,for example, the network device configures the mapping relationshipbetween a QoS parameter and a resource for the first terminal device.The QoS parameter includes at least one of a prose per-packet priority(prose per packet priority, PPPP), prose per-packet reliability (proseper packet reliability, PPPR), and quality of service flow indicator(QoS flow indicator, QFI). The resource includes the first V2X sidelinkresource and the second V2X sidelink resource. The network deviceconfigures the correspondence between a QoS parameter and a resource forthe first terminal device. Optionally, the network device furtherconfigures a correspondence between a QoS parameter, a resource, and alogical channel group (logical channel group, LCG) for the firstterminal device. After the first terminal device receives the foregoingconfigurations, when V2X service data arrives, the first terminal deviceobtains a QoS parameter of the V2X service data, and maps thecorresponding data to a corresponding LCG according to the configurationrule configured by the network device. When the B SR is reported, onlyLCG information is carried. In this case, the network device can learnof, based on the configuration rule sent to the first terminal device, aresource that needs to be allocated to data of the LCG, namely, thefirst-standard V2X sidelink resource and/or the second-standard V2Xsidelink resource. The first terminal device receives the first-standardV2X sidelink resource and/or the second-standard V2X sidelink resourcethat are/is allocated by the network device, and uses, based on acorrespondence between a resource and a logical channel group, thefirst-standard V2X sidelink resource and/or the second-standard V2Xsidelink resource to send the V2X service data buffered on thecorresponding LCG.

Optionally, when the configuration rule includes the quality of serviceQoS parameter threshold, and the quality of service QoS parameterthreshold includes a first prose per-packet priority (prose per packetpriority, PPPP) threshold and/or a first prose per-packet reliability(prose per packet reliability, PPPR) threshold, a manner in which thefirst terminal device determines the V2X sidelink resource according tothe configuration rule satisfies any one of the following:

If a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is greater than or greaterthan or equal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the first-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is greater than or greater than or equal to the first PPPPthreshold, it is determined that the V2X sidelink resource is thefirst-standard V2X sidelink resource. Alternatively, if the PPPR of theto-be-sent data packet is greater than or greater than or equal to thefirst PPPR threshold, it is determined that the V2X sidelink resource isthe first-standard V2X sidelink resource. Alternatively, if the PPPP ofthe to-be-sent data packet is greater than or greater than or equal tothe first PPPP threshold, and the PPPR of the to-be-sent data packet isgreater than or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that a smallerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the first-standard V2X sidelink resourcemay be used for transmission of data having a lower priority and/or alower reliability requirement, when the PPPP of the to-be-sent datapacket is greater than or greater than or equal to the first PPPPthreshold, and/or when the PPPR of the to-be-sent data packet is greaterthan or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource. In this way, the terminal device can select a properV2X resource to satisfy a QoS requirement of the data packet.

If a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is greater than or greaterthan or equal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the second-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is greater than or greater than or equal to the first PPPPthreshold, it is determined that the V2X sidelink resource is thesecond-standard V2X sidelink resource. Alternatively, if the PPPR of theto-be-sent data packet is greater than or greater than or equal to thefirst PPPR threshold, it is determined that the V2X sidelink resource isthe second-standard V2X sidelink resource. Alternatively, if the PPPP ofthe to-be-sent data packet is greater than or greater than or equal tothe first PPPP threshold, and the PPPR of the to-be-sent data packet isgreater than or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that a smallerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the second-standard V2X sidelinkresource may be used for transmission of data having a lower priorityand/or a lower reliability requirement, when the PPPP of the to-be-sentdata packet is greater than or greater than or equal to the first PPPPthreshold, and/or when the PPPR of the to-be-sent data packet is greaterthan or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, the terminal device can select a properV2X resource to satisfy a QoS requirement of the data packet.

If a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the first-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is greater than or greater than or equal to the first PPPPthreshold, it is determined that the V2X sidelink resource is thefirst-standard V2X sidelink resource. Alternatively, if the PPPR of theto-be-sent data packet is less than or less than or equal to the firstPPPR threshold, it is determined that the V2X sidelink resource is thefirst-standard V2X sidelink resource. Alternatively, if the PPPP of theto-be-sent data packet is greater than or greater than or equal to thefirst PPPP threshold, and the PPPR of the to-be-sent data packet is lessthan or less than or equal to the first PPPR threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that the largerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the first-standard V2X sidelink resourcemay be used for transmission of data having a lower priority and/or alower reliability requirement, when the PPPP of the to-be-sent datapacket is greater than or greater than or equal to the first PPPPthreshold, and/or when the PPPR of the to-be-sent data packet is lessthan or less than or equal to the first PPPR threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource. In this way, the terminal device can select a proper V2Xresource to satisfy a QoS requirement of the data packet.

If a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the second-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is greater than or greater than or equal to the first PPPPthreshold, it is determined that the V2X sidelink resource is thesecond-standard V2X sidelink resource. Alternatively, if the PPPR of theto-be-sent data packet is less than or less than or equal to the firstPPPR threshold, it is determined that the V2X sidelink resource is thesecond-standard V2X sidelink resource. Alternatively, if the PPPP of theto-be-sent data packet is greater than or greater than or equal to thefirst PPPP threshold, and the PPPR of the to-be-sent data packet is lessthan or less than or equal to the first PPPR threshold, it is determinedthat the V2X sidelink resource is the second-standard V2X sidelinkresource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that a largerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the second-standard V2X sidelinkresource may be used for transmission of data having a lower priorityand/or a lower reliability requirement, when the PPPP of the to-be-sentdata packet is greater than or greater than or equal to the first PPPPthreshold, and/or when the PPPR of the to-be-sent data packet is lessthan or less than or equal to the first PPPR threshold, it is determinedthat the V2X sidelink resource is the second-standard V2X sidelinkresource. In this way, the terminal device can select a proper V2Xresource to satisfy a QoS requirement of the data packet.

If a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is less than or less than or equal to thefirst PPPR threshold, it is determined that the V2X sidelink resource isthe first-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,it is determined that the V2X sidelink resource is the first-standardV2X sidelink resource. Alternatively, if the PPPR of the to-be-sent datapacket is less than or less than or equal to the first PPPR threshold,it is determined that the V2X sidelink resource is the first-standardV2X sidelink resource. Alternatively, if the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,and the PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the first-standard V2X sidelink resource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that a smallerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the first-standard V2X sidelink resourcemay be used for transmission of data having a higher priority and/or ahigher reliability requirement, when the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,and/or when the PPPR of the to-be-sent data packet is less than or lessthan or equal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the first-standard V2X sidelink resource. In thisway, the terminal device can select a proper V2X resource to satisfy aQoS requirement of the data packet.

If a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is less than or less than or equal to thefirst PPPR threshold, it is determined that the V2X sidelink resource isthe second-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,it is determined that the V2X sidelink resource is the second-standardV2X sidelink resource. Alternatively, if the PPPR of the to-be-sent datapacket is less than or less than or equal to the first PPPR threshold,it is determined that the V2X sidelink resource is the second-standardV2X sidelink resource. Alternatively, if the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,and the PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, it is determined that the V2Xsidelink resource is the second-standard V2X sidelink resource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that a smallerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the second-standard V2X sidelinkresource may be used for transmission of data having a higher priorityand/or a higher reliability requirement, when the PPPP of the to-be-sentdata packet is less than or less than or equal to the first PPPPthreshold, and/or when the PPPR of the to-be-sent data packet is lessthan or less than or equal to the first PPPR threshold, it is determinedthat the V2X sidelink resource is the second-standard V2X sidelinkresource. In this way, the terminal device can select a proper V2Xresource to satisfy a QoS requirement of the data packet.

If a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is greater than or greater than or equalto the first PPPR threshold, it is determined that the V2X sidelinkresource is the first-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,it is determined that the V2X sidelink resource is the first-standardV2X sidelink resource. Alternatively, if the PPPR of the to-be-sent datapacket is greater than or greater than or equal to the first PPPRthreshold, it is determined that the V2X sidelink resource is thefirst-standard V2X sidelink resource. Alternatively, if the PPPP of theto-be-sent data packet is less than or less than or equal to the firstPPPP threshold, and the PPPR of the to-be-sent data packet is greaterthan or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that a largerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the first-standard V2X sidelink resourcemay be used for transmission of data having a higher priority and/or ahigher reliability requirement, when the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,and/or when the PPPR of the to-be-sent data packet is greater than orgreater than or equal to the first PPPR threshold, it is determined thatthe V2X sidelink resource is the first-standard V2X sidelink resource.In this way, the terminal device can select a proper V2X resource tosatisfy a QoS requirement of the data packet.

If a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is greater than or greater than or equalto the first PPPR threshold, it is determined that the V2X sidelinkresource is the second-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is less than or less than or equal to the first PPPP threshold,it is determined that the V2X sidelink resource is the second-standardV2X sidelink resource. Alternatively, if the PPPR of the to-be-sent datapacket is greater than or greater than or equal to the first PPPRthreshold, it is determined that the V2X sidelink resource is thesecond-standard V2X sidelink resource. Alternatively, if the PPPP of theto-be-sent data packet is less than or less than or equal to the firstPPPP threshold, and the PPPR of the to-be-sent data packet is greaterthan or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource.

According to an existing standard, a smaller PPPP value indicates ahigher priority of the to-be-sent data packet. Assuming that a largerPPPR value indicates a higher reliability requirement of the to-be-sentdata, and it is considered that the second-standard V2X sidelinkresource may be used for transmission of data having a higher priorityand/or a higher reliability requirement, when the PPPP of the to-be-sentdata packet is less than or less than or equal to the first PPPPthreshold, and/or when the PPPR of the to-be-sent data packet is greaterthan or greater than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource.

In this way, the terminal device can select a proper V2X resource tosatisfy a QoS requirement of the data packet.

Further, if the quality of service QoS parameter threshold furtherincludes a second PPPP threshold and/or a second PPPR threshold, themanner in which the first terminal device determines the V2X sidelinkresource according to the configuration rule satisfies any one of thefollowing:

If the PPPP of the to-be-sent data packet of the first terminal deviceis less than or less than or equal to the second PPPP threshold, and/orthe PPPR of the to-be-sent data packet is greater than or greater thanor equal to the second PPPR threshold, it is determined that the V2Xsidelink resources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is less than or less than or equal to the second PPPP threshold,it is determined that the V2X sidelink resources are the first-standardV2X sidelink resource and the second-standard V2X sidelink resource.Alternatively, if the PPPR of the to-be-sent data packet is greater thanor greater than or equal to the first PPPR threshold, it is determinedthat the V2X sidelink resources are the first-standard V2X sidelinkresource and the second-standard V2X sidelink resource. Alternatively,if the PPPP of the to-be-sent data packet is less than or less than orequal to the second PPPP threshold, and the PPPR of the to-be-sent datapacket is greater than or greater than or equal to the first PPPRthreshold, it is determined that the V2X sidelink resources are thefirst-standard V2X sidelink resource and the second-standard V2Xsidelink resource.

According to the existing standard, the smaller PPPP value indicates thehigher priority of the to-be-sent data packet. Assuming that the largerPPPR value indicates the higher reliability requirement of theto-be-sent data, and it is considered that using both the first-standardV2X sidelink resource and the second-standard V2X sidelink resource fortransmission can satisfy a high priority requirement and/or a highreliability requirement of data, when the PPPP of the to-be-sent datapacket is less than or less than or equal to the second PPPP threshold,and/or the PPPR of the to-be-sent data packet is greater than or greaterthan or equal to the second PPPR threshold, it is determined that theV2X sidelink resources are the first-standard V2X sidelink resource andthe second-standard V2X sidelink resource. In this way, when theterminal device needs to transmit the data having the high priorityrequirement and/or the high reliability requirement, the terminal devicecan obtain the corresponding V2X sidelink resources to satisfy a QoSrequirement of the data packet.

If the PPPP of the to-be-sent data packet of the first terminal deviceis less than or less than or equal to the second PPPP threshold, and/orthe PPPR of the to-be-sent data packet is less than or less than orequal to the second PPPR threshold, it is determined that the V2Xsidelink resources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding PPPP and/or PPPR. If the PPPP of the to-be-sent datapacket is less than or less than or equal to the second PPPP threshold,it is determined that the V2X sidelink resources are the first-standardV2X sidelink resource and the second-standard V2X sidelink resource.Alternatively, if the PPPR of the to-be-sent data packet is less than orless than or equal to the first PPPR threshold, it is determined thatthe V2X sidelink resources are the first-standard V2X sidelink resourceand the second-standard V2X sidelink resource. Alternatively, if thePPPP of the to-be-sent data packet is less than or less than or equal tothe second PPPP threshold, and the PPPR of the to-be-sent data packet isless than or less than or equal to the first PPPR threshold, it isdetermined that the V2X sidelink resources are the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource.

According to the existing standard, the smaller PPPP value indicates thehigher priority of the to-be-sent data packet. Assuming that the smallerPPPR value indicates the higher reliability requirement of theto-be-sent data, and it is considered that using both the first-standardV2X sidelink resource and the second-standard V2X sidelink resource fortransmission can satisfy a high priority requirement and/or a highreliability requirement of data, when the PPPP of the to-be-sent datapacket is less than or less than or equal to the second PPPP threshold,and/or the PPPR of the to-be-sent data packet is less than or less thanor equal to the second PPPR threshold, it is determined that the V2Xsidelink resources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource. In this way, when the terminaldevice needs to transmit the data having the high priority requirementand/or the high reliability requirement, the terminal device can obtainthe corresponding V2X sidelink resources to satisfy a QoS requirement ofthe data packet.

Optionally, when the configuration rule includes the quality of serviceQoS parameter threshold, and the quality of service QoS parameterthreshold includes a first quality of service flow indicator (QoS flowindicator, QFI) threshold, a manner in which the first terminal devicedetermines the V2X sidelink resource according to the configuration rulesatisfies any one of the following:

If a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource.

In this way, if a smaller QFI value indicates a higher QoS requirement,and it is considered that the first-standard V2X sidelink resource maybe used to transmit data having a lower QoS requirement, the terminaldevice can select, according to the foregoing rule, appropriate V2Xsidelink resources for data having different QoS requirements, totransmit the data.

If a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, if a smaller QFI value indicates ahigher QoS requirement, and it is considered that the second-standardV2X sidelink resource may be used to transmit data having a lower QoSrequirement, the terminal device can select, according to the foregoingrule, appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

If a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource. In this way, if a smaller QFI value indicates a higher QoSrequirement, and it is considered that the first-standard V2X sidelinkresource may be used to transmit data having a higher QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

If a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the second-standard V2X sidelinkresource. In this way, if a smaller QFI value indicates a higher QoSrequirement, and it is considered that the second-standard V2X sidelinkresource may be used to transmit data having a higher QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

If a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource. In this way, if a larger QFI value indicates a higherQoS requirement, and it is considered that the first-standard V2Xsidelink resource may be used to transmit data having a higher QoSrequirement, the terminal device can select, according to the foregoingrule, appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

If a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, if a larger QFI value indicates a higherQoS requirement, and it is considered that the second-standard V2Xsidelink resource may be used to transmit data having a higher QoSrequirement, the terminal device can select, according to the foregoingrule, appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

If a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource. In this way, if a larger QFI value indicates a higher QoSrequirement, and it is considered that the first-standard V2X sidelinkresource may be used to transmit data having a lower QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

If a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the first QFI threshold, it is determinedthat the V2X sidelink resource is the second-standard V2X sidelinkresource. In this way, if a larger QFI value indicates a higher QoSrequirement, and it is considered that the second-standard V2X sidelinkresource may be used to transmit data having a lower QoS requirement,the terminal device can select, according to the foregoing rule,appropriate V2X sidelink resources for data having different QoSrequirements, to transmit the data.

Further, when the configuration rule includes the quality of service QoSparameter threshold, and the quality of service QoS parameter thresholdincludes a second QFI threshold, the manner in which the first terminaldevice determines the V2X sidelink resource according to theconfiguration rule satisfies any one of the following:

If the QFI of the to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the second QFI threshold, it isdetermined that the V2X sidelink resources are the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet isgreater than or greater than or equal to the second QFI threshold, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource. In thisway, if the larger QFI value indicates the higher QoS requirement, andit is considered that using both the first-standard V2X sidelinkresource and the second-standard V2X sidelink resource can satisfy ahigh QoS requirement of data, an appropriate V2X sidelink resource maybe selected, according to the foregoing method, for the data having thehigh QoS requirement, to transmit the data.

If the QFI of the to-be-sent data packet of the first terminal device isless than or less than or equal to the second QFI threshold, it isdetermined that the V2X sidelink resources are the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource.

For example, the to-be-sent data packet of the first terminal device hasthe corresponding QFI. If the QFI of the to-be-sent data packet is lessthan or less than or equal to the second QFI threshold, it is determinedthat the V2X sidelink resource is the first-standard V2X sidelinkresource and the second-standard V2X sidelink resource. In this way, ifthe smaller QFI value indicates the higher QoS requirement, and it isconsidered that using both the first-standard V2X sidelink resource andthe second-standard V2X sidelink resource can satisfy a high QoSrequirement of data, an appropriate V2X sidelink resource may beselected, according to the foregoing method, for the data having thehigh QoS requirement, to transmit the data.

Optionally, if the configuration rule includes the sidelink qualitythreshold, the sidelink quality threshold may include a first channelbusy ratio (Channel Busy Ratio, CBR) threshold and/or a second CBRthreshold. In this case, a manner in which the first terminal devicedetermines the V2X sidelink resource according to the configuration rulesatisfies any one of the following:

If a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is greater than or greater than or equal tothe first CBR threshold, it is determined that the V2X sidelink resourceis the second-standard V2X sidelink resource.

For example, the first CBR threshold is a first-standard V2X sidelinkCBR threshold, and the first terminal device measures the first-standardV2X sidelink CBR. If the first terminal device determines that thefirst-standard V2X sidelink CBR obtained through measurement is greaterthan or greater than or equal to the first-standard V2X sidelink CBRthreshold, the first terminal device determines that the V2X sidelinkresource is the second-standard V2X sidelink resource.

When the first-standard V2X sidelink CBR obtained through measurement isgreater than or greater than or equal to the first CBR threshold, thatis, when a first-standard V2X sidelink channel is in a busy state, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, the terminal device can select an idlerV2X sidelink resource in real time to transmit data.

If a second-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is less than or less than or equal to thesecond CBR threshold, it is determined that the V2X sidelink resource isthe second-standard V2X sidelink resource.

For example, the second CBR threshold is a second-standard V2X sidelinkCBR threshold, and the first terminal device measures thesecond-standard V2X sidelink CBR. If the first terminal devicedetermines that the second-standard V2X sidelink CBR obtained throughmeasurement is less than or less than or equal to the second-standardV2X sidelink CBR threshold, the first terminal device determines thatthe V2X sidelink resource is the second-standard V2X sidelink resource.

When the second-standard V2X sidelink CBR obtained through measurementis less than or less than or equal to the second CBR threshold, that is,when a second-standard V2X sidelink channel is in an idle state, it isdetermined that the V2X sidelink resource is the second-standard V2Xsidelink resource. In this way, the terminal device can select an idlerV2X sidelink resource in real time to transmit data.

If a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is greater than or greater than or equal tothe first CBR threshold, and a second-standard V2X sidelink CBR obtainedby the first terminal device through measurement is less than or lessthan or equal to the second CBR threshold, it is determined that the V2Xsidelink resource is the second-standard V2X sidelink resource.

For example, if the first terminal device determines, by measuring thefirst-standard V2X sidelink CBR and the second-standard V2X sidelinkCBR, that the first-standard V2X sidelink CBR obtained throughmeasurement is greater than or greater than or equal to the first CBRthreshold, and the second-standard V2X sidelink CBR obtained throughmeasurement is less than or less than or equal to the second CBRthreshold, the first terminal device determines that the V2X sidelinkresource is the second-standard V2X sidelink resource.

When the first-standard V2X sidelink CBR obtained through measurement isgreater than or greater than or equal to the first CBR threshold, andthe second-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is less than or less than or equal to thesecond CBR threshold, that is, when a first-standard V2X sidelinkchannel is in a busy state, and a second-standard V2X sidelink channelis in an idle state, it is determined that the V2X sidelink resource isthe second-standard V2X sidelink resource. In this way, the terminaldevice can select an idler V2X sidelink resource in real time totransmit data.

If a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is less than or less than or equal to thefirst CBR threshold, it is determined that the V2X sidelink resource isthe first-standard V2X sidelink resource.

For example, the first CBR threshold is a first-standard V2X sidelinkCBR threshold, and the first terminal device measures a first-standardV2X sidelink CBR. If the first terminal device determines that thefirst-standard V2X sidelink CBR obtained through measurement is lessthan or less than or equal to the first-standard V2X sidelink CBRthreshold, the first terminal device determines that the V2X sidelinkresource is the first-standard V2X sidelink resource.

When the first-standard V2X sidelink CBR obtained through measurement isless than or less than or equal to the first CBR threshold, that is,when a first-standard V2X sidelink channel is in an idle state, it isdetermined that the V2X sidelink resource is the first-standard V2Xsidelink resource. In this way, the terminal device can select an idlerV2X sidelink resource in real time to transmit data.

If a second-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is greater than or greater than or equal tothe second CBR threshold, it is determined that the V2X sidelinkresource is the first-standard V2X sidelink resource.

For example, the second CBR threshold is a second-standard V2X sidelinkCBR threshold, and the first terminal device measures thesecond-standard V2X sidelink CBR. If the first terminal devicedetermines that the second-standard V2X sidelink CBR obtained throughmeasurement is greater than or greater than or equal to thesecond-standard V2X sidelink CBR threshold, the first terminal devicedetermines that the V2X sidelink resource is the second-standard V2Xsidelink resource.

When the second-standard V2X sidelink CBR obtained through measurementis greater than or greater than or equal to the second CBR threshold,that is, when a second-standard V2X sidelink channel is in a busy state,it is determined that the V2X sidelink resource is the first-standardV2X sidelink resource. In this way, the terminal device can select anidler V2X sidelink resource in real time to transmit data.

If a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is less than or less than or equal to thefirst CBR threshold, and a second-standard V2X sidelink CBR obtained bythe first terminal device through measurement is greater than or greaterthan or equal to the second CBR threshold, it is determined that the V2Xsidelink resource is the first-standard V2X sidelink resource.

For example, if the first terminal device determines, by measuring thefirst-standard V2X sidelink CBR and the second-standard V2X sidelinkCBR, that the first-standard V2X sidelink CBR obtained throughmeasurement is less than or less than or equal to the first CBRthreshold, and the second-standard V2X sidelink CBR obtained throughmeasurement is greater than or greater than or equal to the second CBRthreshold, the first terminal device determines that the V2X sidelinkresource is the first-standard V2X sidelink resource.

When the first-standard V2X sidelink CBR obtained through measurement isless than or less than or equal to the first CBR threshold, and thesecond-standard V2X sidelink CBR obtained by the first terminal devicethrough measurement is greater than or greater than or equal to thesecond CBR threshold, that is, when a first-standard V2X sidelinkchannel is in an idle state, and a second-standard V2X sidelink channelis in a busy state, it is determined that the V2X sidelink resource isthe second-standard V2X sidelink resource. In this way, the terminaldevice can select an idler V2X sidelink resource in real time totransmit data.

Optionally, the quality of service QoS parameter is alternativelyanother parameter such as a delay or a rate. The first terminal devicemay alternatively determine the V2X sidelink resource based on theparameters. The sidelink quality threshold may alternatively be anotherV2X sidelink quality parameter threshold, and is not limited to the V2Xsidelink CBR.

The foregoing manners of obtaining the V2X sidelink resource can enablethe network device to implement more flexible control based oninformation such as an air interface or load. In this case, when thefirst terminal device reports the SR or the BSR, the SR or the BSRcarries a corresponding PPPP/corresponding PPPR/a corresponding servicetype or a similar QoS parameter. The network device indicates, inscheduling information, whether the allocated resource is thefirst-standard V2X sidelink resource or the second-standard V2X sidelinkresource. For example, the SPS configuration is also similar. Whenreporting the UE assistance information message, the first terminaldevice reports a service type, a PPPP/PPPR, or a related service QoSparameter. The network device determines whether to allocate afirst-standard V2X sidelink SPS resource or a second-standard V2Xsidelink SPS resource, and indicates, to the first terminal device in aradio resource control (radio resource control, RRC) configuration,whether to allocate the first-standard V2X sidelink SPS resource or thesecond-standard V2X sidelink SPS resource.

Optionally, the configuration rule is sent by the core network device tothe first terminal device, or is generated by an application layerinside the first terminal device and sent by the application layer to anaccess stratum (access stratum, AS) of the first terminal device.

For example, a V2X control function (control function) entity on a corenetwork side may formulate the configuration rule, and then, notify thefirst terminal device by using a non-access stratum (non-access stratum,NAS) message, an RRC message, or a user plane bearer.

When obtaining the V2X sidelink resource according to the configurationrule sent by the network device, the first terminal device may firstobtain information indicating that the second terminal device supportsthe first-standard V2X service and information indicating that thesecond terminal device supports the second-standard V2X service, andthen, select the V2X sidelink resource based on the informationindicating that the second terminal device supports the first-standardV2X service and the information indicating that the second terminaldevice supports the second-standard V2X service.

For example, before selecting the V2X sidelink resource, the firstterminal device first learns of whether the second terminal device cansupport the first-standard V2X service, whether the second terminaldevice can support the second-standard V2X service, or whether thesecond terminal device can support both the first-standard V2X serviceand the second-standard V2X service. In an implementation process, thefirst terminal device may obtain, by using a V2X control function(control function), from the network device, or by using an application(application, APP) installed in the first terminal device, whether thesecond terminal device can support the first-standard V2X service,whether the second terminal device can support the second-standard V2Xservice, or whether the second terminal device can support both thefirst-standard V2X service and the second-standard V2X service.

When learning of that the second terminal device can support both thefirst-standard V2X service and the second-standard V2X service, thefirst terminal device selects the V2X sidelink resource in the foregoingmanner.

Optionally, if the first terminal device learns of that the secondterminal device can support only the first-standard V2X service,correspondingly, the first terminal device selects the first-standardV2X sidelink resource. Alternatively, if the first terminal devicelearns of that the second terminal device can support only thesecond-standard V2X service, correspondingly, the first terminal devicemay select the second-standard V2X sidelink resource.

In yet another possible implementation, to make the V2X sidelinkresource determined by the network device more proper, the networkdevice is usually enabled to learn of statuses of the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource that canbe obtained by the first terminal device and even the network deviceprovides Uu interface selection for the first terminal device. Thenetwork device delivers a measurement configuration to the firstterminal device, and the first terminal device measures V2X sidelinksafter receiving the measurement configuration sent by the networkdevice. The measurement configuration may include the measurement event.When a measurement result of a first-standard V2X sidelink and/or ameasurement result of a second-standard V2X sidelink that are/isobtained by the first terminal device through measurementsatisfy/satisfies the event, the first terminal device may send ameasurement report to the network device. The measurement reportincludes the measurement result of the first-standard V2X sidelinkand/or the measurement result of the second-standard V2X sidelink.Optionally, the measurement report includes the measurement result ofthe first-standard V2X sidelink and/or the measurement result of thesecond-standard V2X sidelink that satisfy/satisfies the measurementevent. The network device allocates the V2X sidelink resource to thefirst terminal device based on the measurement report sent by the firstterminal device.

For example, the measurement event sent by the network device andreceived by the first terminal device includes any one of the following:A first-standard V2X sidelink channel busy ratio SL CBR is greater thanor greater than or equal to a second threshold; a second-standard V2X SLCBR is less than or less than or equal to a third threshold; afirst-standard V2X sidelink channel busy ratio SL CBR is greater than orgreater than or equal to a second threshold, and a second-standard V2XSL CBR is less than or less than or equal to a third threshold; afirst-standard V2X SL CBR is less than or less than or equal to a fourththreshold; a second-standard V2X SL CBR is greater than or greater thanor equal to a fifth threshold; a first-standard V2X SL CBR is less thanor less than or equal to a fourth threshold, and a second-standard V2XSL CBR is greater than or greater than or equal to a fifth threshold; afirst-standard V2X SL CBR is greater than or greater than or equal to asixth threshold, and a reference signal received power (reference signalreceived power, RSRP) is greater than or greater than or equal to aseventh threshold; a second-standard V2X SL CBR is greater than orgreater than or equal to a sixth threshold, and an RSRP is greater thanor greater than or equal to a seventh threshold; a first-standard V2X SLCBR is greater than or greater than or equal to a sixth threshold, andreference signal received quality (reference signal received quality,RSRQ) is greater than or greater than or equal to a seventh threshold; asecond-standard V2X SL CBR is greater than or greater than or equal to asixth threshold, and RSRQ is greater than or greater than or equal to aseventh threshold; a first-standard V2X SL CBR is less than or less thanor equal to an eighth threshold, and an RSRP is less than or less thanor equal to a ninth threshold; a first-standard V2X SL CBR is less thanor less than or equal to an eighth threshold, and RSRQ is less than orless than or equal to a ninth threshold; a second-standard V2X SL CBR isless than or less than or equal to an eighth threshold, and an RSRP isless than or less than or equal to a ninth threshold; a second-standardV2X SL CBR is less than or less than or equal to an eighth threshold,and RSRQ is less than or less than or equal to a ninth threshold; and afirst-standard V2X SL CBR is less than or less than or equal to a tenththreshold, and a second-standard V2X SL CBR is less than or less than orequal to an eleventh threshold.

For example, the network device sends the measurement event to the firstterminal device. When determining that a measurement result satisfiesthe measurement event, the first terminal device sends a measurementreport to the network device. For example, if the measurement event isthat the first-standard V2X sidelink SL CBR is greater than or equal tothe second threshold and the second-standard V2X SL CBR is less than orequal to the third threshold, when a result, obtained by the firstterminal device through measurement, of the first-standard V2X SL CBR isgreater than or equal to the second threshold and a result, obtained bythe first terminal device through measurement, of the second-standardV2X SL CBR is less than or equal to the third threshold, the firstterminal device sends the measurement report to the network device. Themeasurement report includes the result of the first-standard V2X SL CBRand/or the result of the second-standard V2X SL CBR. Optionally, theresult of the first-standard V2X SL CBR and/or the result of thesecond-standard V2X SL CBR include/includes at least a result of thefirst-standard V2X SL CBR and/or a result of the second-standard V2X SLCBR that satisfy/satisfies the measurement event.

A manner in which the first terminal device reports the measurementreport to the network device and that is used when the measurement eventis other information is similar to a manner of reporting the measurementreport to the network device and used when the measurement event is thatthe first-standard V2X sidelink SL CBR is greater than or equal to thesecond threshold and the second-standard V2X SL CBR is less than orequal to the third threshold. Details are not described herein again.

After receiving the measurement report sent by the first terminaldevice, the network device determines the V2X sidelink resource based onthe measurement report.

For example, if the first-standard V2X sidelink channel busy ratio SLCBR is greater than or greater than or equal to the second threshold,the second-standard V2X SL CBR is less than or less than or equal to thethird threshold, or when the first-standard V2X sidelink channel busyratio SL CBR is greater than or greater than or equal to the secondthreshold and the second-standard V2X SL CBR is less than or less thanor equal to the third threshold, it is determined that the V2X sidelinkresource is the second-standard V2X sidelink resource.

If the first-standard V2X SL CBR is less than or less than or equal tothe fourth threshold, the second-standard V2X SL CBR is greater than orgreater than or equal to the fifth threshold, or when the first-standardV2X SL CBR is less than or less than or equal to the fourth thresholdand the second-standard V2X SL CBR is greater than or greater than orequal to the fifth threshold, it is determined that the V2X sidelinkresource is the first-standard V2X sidelink resource.

If the first-standard V2X SL CBR is greater than or greater than orequal to the sixth threshold and the RSRP is greater than or greaterthan or equal to the seventh threshold, the second-standard V2X SL CBRis greater than or greater than or equal to the sixth threshold and theRSRP is greater than or greater than or equal to the seventh threshold,the first-standard V2X SL CBR is greater than or greater than or equalto the sixth threshold and the RSRQ is greater than or greater than orequal to the seventh threshold, or the second-standard V2X SL CBR isgreater than or greater than or equal to the sixth threshold and theRSRQ is greater than or greater than or equal to the seventh threshold,it is determined that the V2X sidelink resource is a Uu interfaceresource.

If the first-standard V2X SL CBR is less than or less than or equal tothe eighth threshold and the RSRP is less than or less than or equal tothe ninth threshold, or the first-standard V2X SL CBR is less than orless than or equal to the eighth threshold and the RSRQ is less than orless than or equal to the ninth threshold, it is determined that the V2Xsidelink resource is the first-standard V2X sidelink resource.

If the second-standard V2X SL CBR is less than or less than or equal tothe eighth threshold and the RSRP is less than or less than or equal tothe ninth threshold, or the second-standard V2X SL CBR is less than orless than or equal to the eighth threshold and the RSRQ is less than orless than or equal to the ninth threshold, it is determined that the V2Xsidelink resource is the second-standard V2X sidelink resource.

If the first-standard V2X SL CBR is less than or less than or equal tothe tenth threshold, and the second-standard V2X SL CBR is less than orless than or equal to the eleventh threshold, it is determined that theV2X sidelink resources are the first-standard V2X sidelink resource andthe second-standard V2X sidelink resource.

After determining the V2X sidelink resource, the network device sendsthe determined V2X sidelink resource to the first terminal device.

Regardless of which manner is used to determine the V2X sidelinkresource, it is considered that the first terminal device currentlyaccesses only one network device, for example, accesses a first-standardnetwork device. In this case, when the first terminal device reports thesecond message to the first-standard network device, the first-standardV2X sidelink resource may be requested, or the second-standard V2Xsidelink resource may be requested. In this case, a second messagecorresponding to the first-standard V2X sidelink resource may be used.To be specific, no matter which standard of a V2X sidelink resource isrequested, a unified second message is used for requesting. For example,the second message is the BSR. In this case, the first terminal devicemay request the first-standard V2X sidelink resource or thesecond-standard V2X sidelink resource by using a first-standard BSR.Optionally, the first-standard BSR includes a second-standard BSR. Thefirst-standard BSR is used to request the first-standard V2X sidelinkresource, and the second-standard BSR is used to request thesecond-standard V2X sidelink resource. If the second message is theterminal device assistance information, the first terminal device mayrequest the first-standard V2X sidelink resource or the second-standardV2X sidelink resource by using a first-standard terminal deviceassistance information message. Optionally, the first-standard terminaldevice assistance information message includes a second-standardterminal device assistance information message. The first-standardterminal device assistance information message is used to report a V2Xservice model that requires the first-standard V2X sidelink resource,and the second-standard terminal device assistance information messageis used to report a V2X service model that requires the second-standardV2X sidelink resource.

The network device allocates one or more V2X resources to the firstterminal device based on the request of the first terminal device orbased on a decision of the network device, and indicates the one or moreallocated V2X resources to the first terminal device by using downlinkcontrol information (downlink control information, DCI). The one or moreV2X resources may be the first-standard V2X sidelink resource, thesecond-standard V2X sidelink resource, or the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource. Forexample, DCI for scheduling the first-standard V2X sidelink resource andDCI for scheduling the second-standard V2X sidelink resource may be indifferent formats (format). For example, DCI-1 is used to schedule thefirst-standard V2X sidelink resource, and DCI-2 is used to schedule thesecond-standard V2X sidelink resource. Optionally, the DCI forscheduling the first-standard V2X sidelink resource and the DCI forscheduling the second-standard V2X sidelink resource are alternativelyin a same format. In this case, the first-standard V2X sidelink resourceand the second-standard V2X sidelink resource are further indicated inthe DCI.

Step 303: The first terminal device communicates with the secondterminal device on the V2X sidelink resource.

In this embodiment, after obtaining the V2X sidelink resource used fordata transmission, the first terminal device communicates with thesecond terminal device by using the obtained V2X sidelink resource. Theresource obtained by the first terminal device includes thefirst-standard V2X sidelink resource and/or the second-standard V2Xsidelink resource. In this way, the first terminal device may completethe first-standard V2X service and/or the second-standard V2X service.

Optionally, if the second terminal device can support both thefirst-standard V2X service and the second-standard V2X service, thesecond terminal device listens to both scheduling information on thefirst-standard V2X sidelink and scheduling information on thesecond-standard V2X sidelink. However, the foregoing manner affectspower consumption of the second terminal device. Therefore, optionally,a set of baseline links is also defined. It is notified that allterminal devices can support the baseline links in a system by default.For example, in an NR system, all terminal devices support NR V2X bydefault, and an NR V2X sidelink resource is used for initialtransmission.

For a manner in which the first terminal device sends data by using aduplication (duplication) configuration and the second terminal deviceperforms receiving in a dual-link manner, a possible implementationmanner is that a plurality of configurations may be preset and the firstterminal device selects one of the plurality of standardizedconfigurations for sending and indicates the selected configuration tothe second terminal device in a scheduling assignment (schedulingassignment). The second terminal device learns of, in an SA parsingprocess, that the data is transmitted in the dual-link manner, and acorresponding L2 entity may be established to receive the data.

According to the communication method provided in this embodiment ofthis application, the first terminal device receives the first-standardV2X sidelink configuration and the second-standard V2X sidelinkconfiguration from the network device, obtains, based on thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration, the V2X sidelink resource used for datatransmission, and then, communicates with the second terminal device onthe V2X sidelink resource. The first terminal device may obtain thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration from the network device, thereby determining,based on the foregoing two configurations, that the V2X sidelinkresource used for data transmission is the first-standard V2X sidelinkresource and/or the second-standard V2X sidelink resource, so that thefirst terminal device performs first-standard V2X service communicationand/or second-standard V2X service communication with the secondterminal device based on the determined V2X sidelink resource. In thisway, it can be ensured that a same terminal device can obtain thefirst-standard V2X service and the second-standard V2X service.

FIG. 4 is a schematic structural diagram of a communications apparatusaccording to an embodiment of this application. Referring to FIG. 4, theapparatus includes a receiving unit 11, an obtaining unit 12, and acommunications unit 13. For example,

the receiving unit 11 is configured to receive a first-standardvehicle-to-everything V2X sidelink configuration and a second-standardV2X sidelink configuration from a network device;

the obtaining unit 12 is configured to obtain, based on thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration, a V2X sidelink resource used for datatransmission; and

the communications unit 13 is configured to communicate with a secondterminal device on the V2X sidelink resource.

The communications apparatus provided in this embodiment of thisapplication may perform the foregoing corresponding method embodiment.Implementation principles and technical effects of the communicationsapparatus are similar to those in the method embodiment. Details are notdescribed herein again.

Optionally, the apparatus further includes:

a sending unit 14, configured to send, to the network device,information indicating that the first terminal device supports afirst-standard V2X service and information indicating that the firstterminal device supports a second-standard V2X service.

Optionally, the obtaining unit 12 is specifically configured to:

receive a first message broadcast by the network device, where the firstmessage includes an identifier of an area, a first-standard V2X sidelinkconfiguration corresponding to the area, and a second-standard V2Xsidelink configuration corresponding to the area, the first-standard V2Xsidelink configuration includes available first-standard V2X sidelinkresources, and the second-standard V2X sidelink configuration includesavailable second-standard V2X sidelink resources, where

the first terminal device selects at least one of the availablefirst-standard V2X sidelink resources and/or at least one of theavailable second-standard V2X sidelink resources when the first terminaldevice is currently in the area.

Optionally, the obtaining unit 12 is specifically configured to:

send a second message to the network device, where the second messagecarries at least one piece of information used to indicate a networkstandard; and

receive the V2X sidelink resource sent by the network device based onthe network standard.

Optionally, the obtaining unit 12 is specifically configured to:

receive a configuration rule sent by the network device, where theconfiguration rule includes any one of the following information: amapping relationship between a V2X service type and a resource, amapping relationship between a quality of service QoS parameter and aresource, a quality of service QoS parameter threshold, and for example,a sidelink quality threshold, and the sidelink quality thresholdincludes a first-standard V2X sidelink quality threshold and/or asecond-standard V2X sidelink quality threshold; and

determine the V2X sidelink resource according to the configuration rule.

Optionally, the configuration rule includes the quality of service QoSparameter threshold, and the quality of service QoS parameter thresholdincludes a first prose per-packet priority PPPP threshold and/or a firstprose per-packet reliability PPPR threshold; and

the obtaining unit 12 is specifically configured to:

if a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is greater than or greaterthan or equal to the first PPPR threshold, determine that the V2Xsidelink resource is a first-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is greater than or greaterthan or equal to the first PPPR threshold, determine that the V2Xsidelink resource is a second-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, determine that the V2X sidelinkresource is a first-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first PPPP threshold,and/or PPPR of the to-be-sent data packet is less than or less than orequal to the first PPPR threshold, determine that the V2X sidelinkresource is a second-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is less than or less than or equal to thefirst PPPR threshold, determine that the V2X sidelink resource is afirst-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is less than or less than or equal to thefirst PPPR threshold, determine that the V2X sidelink resource is asecond-standard V2X sidelink resource;

if a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is greater than or greater than or equalto the first PPPR threshold, determine that the V2X sidelink resource isa first-standard V2X sidelink resource; or

if a PPPP of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first PPPP threshold, and/or PPPRof the to-be-sent data packet is greater than or greater than or equalto the first PPPR threshold, determine that the V2X sidelink resource isa second-standard V2X sidelink resource.

Optionally, the quality of service QoS parameter threshold furtherincludes a second PPPP threshold and/or a second PPPR threshold; and

the obtaining unit 12 is specifically configured to:

if the PPPP of the to-be-sent data packet of the first terminal deviceis less than or less than or equal to the second PPPP threshold, and/orthe PPPR of the to-be-sent data packet is greater than or greater thanor equal to the second PPPR threshold, determine that the V2X sidelinkresources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource; or

if the PPPP of the to-be-sent data packet of the first terminal deviceis less than or less than or equal to the second PPPP threshold, and/orthe PPPR of the to-be-sent data packet is less than or less than orequal to the second PPPR threshold, determine that the V2X sidelinkresources are the first-standard V2X sidelink resource and thesecond-standard V2X sidelink resource.

Optionally, the configuration rule includes the quality of service QoSparameter threshold, and the quality of service QoS parameter thresholdincludes a first quality of service flow indicator QFI threshold; and

the obtaining unit 12 is specifically configured to:

if a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold,determine that the V2X sidelink resource is a first-standard V2Xsidelink resource;

if a QFI of a to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the first QFI threshold,determine that the V2X sidelink resource is a second-standard V2Xsidelink resource;

if a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, determinethat the V2X sidelink resource is a first-standard V2X sidelinkresource; or

if a QFI of a to-be-sent data packet of the first terminal device isless than or less than or equal to the first QFI threshold, determinethat the V2X sidelink resource is a second-standard V2X sidelinkresource.

Optionally, the quality of service QoS parameter threshold includes asecond quality of service flow indicator QFI threshold; and

the obtaining unit 12 is specifically configured to:

if the QFI of the to-be-sent data packet of the first terminal device isgreater than or greater than or equal to the second QFI threshold,determine that the V2X sidelink resources are the first-standard V2Xsidelink resource and the second-standard V2X sidelink resource; or

if the QFI of the to-be-sent data packet of the first terminal device isless than or less than or equal to the second QFI threshold, determinethat the V2X sidelink resources are the first-standard V2X sidelinkresource and the second-standard V2X sidelink resource.

Optionally, the configuration rule includes the sidelink qualitythreshold, and the sidelink quality threshold includes a first channelbusy ratio CBR threshold and/or a second CBR threshold; and

the obtaining unit 12 is specifically configured to:

if a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is greater than or greater than or equal tothe first CBR threshold, and/or a second-standard V2X sidelink CBRobtained by the first terminal device through measurement is less thanor less than or equal to the second CBR threshold, determine that theV2X sidelink resource is a second-standard V2X sidelink resource; or

if a first-standard V2X sidelink CBR obtained by the first terminaldevice through measurement is less than or less than or equal to thefirst CBR threshold, and/or a second-standard V2X sidelink CBR obtainedby the first terminal device through measurement is greater than orgreater than or equal to the second CBR threshold, determine that theV2X sidelink resource is a first-standard V2X sidelink resource.

Optionally, the receiving unit 11 is further configured to receive ameasurement event sent by the network device; and

the measurement event includes any one of the following:

a first-standard V2X sidelink channel busy ratio SL CBR is greater thanor greater than or equal to a second threshold, and/or a second-standardV2X SL CBR is less than or less than or equal to a third threshold;

a first-standard V2X SL CBR is less than or less than or equal to afourth threshold, and/or a second-standard V2X SL CBR is greater than orgreater than or equal to a fifth threshold;

a first-standard V2X SL CBR or a second-standard V2X SL CBR is greaterthan or greater than or equal to a sixth threshold, and a referencesignal received power RSRP or reference signal received quality RSRQ isgreater than or greater than or equal to a seventh threshold; or

a first-standard V2X SL CBR or a second-standard V2X SL CBR is less thanor less than or equal to an eighth threshold, and a RSRP or RSRQ is lessthan or less than or equal to a ninth threshold.

Optionally, the obtaining unit 12 is further configured to:

obtain information indicating that the second terminal device supportsthe first-standard V2X service and information indicating that thesecond terminal device supports the second-standard V2X service; and

select the V2X sidelink resource based on the information indicatingthat the second terminal device supports the first-standard V2X serviceand the information indicating that the second terminal device supportsthe second-standard V2X service.

Optionally, the sending unit 14 is further configured to:

send a device identifier of the second terminal device to the networkdevice, where the device identifier is used to indicate the networkdevice to allocate the V2X sidelink resource to the first terminaldevice, or is used by the first terminal device to obtain, from thenetwork device, the information indicating that the second terminaldevice supports the first-standard V2X service and the informationindicating that the second terminal device supports the second-standardV2X service.

Optionally, a first V2X sidelink and a second V2X sidelink use a sameV2X synchronization type and a same SL-V-RNTI.

The communications apparatus provided in this embodiment of thisapplication may perform the foregoing corresponding method embodiment.The implementation principles and the technical effects of thecommunications apparatus are similar to those in the method embodiment.Details are not described herein again.

For example, it should be understood that, division into the units ofthe apparatus is merely logical function division, and during actualimplementation, all or some of the units may be integrated into aphysical entity, or the units may be physically separate. In addition,all of the units may be implemented in a form of software invoked by aprocessing element, or implemented in a form of hardware. Alternatively,some of the units may be implemented in a form of software invoked by aprocessing element, and some of the units may be implemented in a formof hardware. For example, the sending unit may be a processing elementdisposed separately, or may be integrated into a chip of the apparatusfor implementation. In addition, the sending unit may be stored in amemory of the apparatus in a form of a program, and invoked by aprocessing element of the apparatus to perform the function of thesending unit. Implementation of other units is similar to that of thesending unit. Optionally, the units are all or partially integrated, orare implemented independently. The processing element herein may be anintegrated circuit and has a signal processing capability. In animplementation process, the steps in the foregoing method or theforegoing units can be implemented by using a hardware integrated logiccircuit in the processing element or by using instructions in a form ofsoftware. Optionally, the foregoing sending unit is a sending controlunit, and sends information by using a sending apparatus of theapparatus, for example, an antenna and a radio frequency apparatus.

The foregoing units may be configured as one or more integrated circuitsfor implementing the foregoing method, for example, one or moreapplication specific integrated circuits (application specificintegrated circuit, ASIC), one or more microprocessors (digital signalprocessor, DSP), or one or more field programmable gate arrays (fieldprogrammable gate array, FPGA). For another example, when a unit isimplemented by scheduling a program by a processing element, theprocessing component may be a general purpose processor, for example, acentral processing unit (central processing unit, CPU) or anotherprocessor that can invoke the program. For another example, the unitsmay be integrated together and implemented in a form of asystem-on-a-chip (system-on-a-chip, SOC).

FIG. 5 is another schematic structural diagram of a communicationsapparatus according to an embodiment of this application. Referring toFIG. 5, the apparatus includes a sending unit 21, an obtaining unit 22,and a receiving unit 23. For example,

The sending unit 21 is configured to send a first-standardvehicle-to-everything V2X sidelink configuration and/or asecond-standard V2X sidelink configuration to a first terminal device,where the first-standard V2X sidelink configuration and/or thesecond-standard V2X sidelink configuration are/is used by the firstterminal device to obtain a V2X sidelink resource used for datatransmission and communicate with a second terminal device on the V2Xsidelink resource.

Optionally, the obtaining unit 22 is configured to obtain any one ormore of the following information: information indicating that the firstterminal device supports a first-standard V2X service, informationindicating that the first terminal device supports a second-standard V2Xservice, grant information of the first terminal device, and sidelinkaggregate maximum bit rates AMBRs of the first terminal device, wherefor example, the sidelink AMBRs include a first-standard V2X sidelinkAMBR and a second-standard V2X sidelink AMBR; and

the sending unit 21 is specifically configured to:

send, the first-standard V2X sidelink configuration and/or thesecond-standard V2X sidelink configuration to the first terminal devicebased on the any one or more of the information indicating that thefirst terminal device supports the first-standard V2X service, theinformation indicating that the first terminal device supports thesecond-standard V2X service, the grant information, and the sidelinkAMBRs.

Optionally, the sending unit 21 is further configured to:

broadcast a first message to the first terminal device, where the firstmessage includes an identifier of an area, a first-standard V2X sidelinkconfiguration corresponding to the area, and a second-standard V2Xsidelink configuration corresponding to the area, the first-standard V2Xsidelink configuration includes available first-standard V2X sidelinkresources, the second-standard V2X sidelink configuration includesavailable second-standard V2X sidelink resources, and the identifier ofthe area is used to indicate the first terminal device to select atleast one of the available first-standard V2X sidelink resources and/orat least one of the available second-standard V2X sidelink resourceswhen the first terminal device is currently in the area.

Optionally, the apparatus further includes:

the receiving unit 23, configured to receive a second message sent bythe first terminal device, where the second message carries at least onepiece of information used to indicate a network standard;

the obtaining unit 22 is further configured to determine the V2Xsidelink resource based on the network standard; and

the sending unit 21 is further configured to send the V2X sidelinkresource to the first terminal device.

Optionally, the sending unit 21 is further configured to:

send a configuration rule to the first terminal device, where theconfiguration rule includes any one of the following information: amapping relationship between a V2X service type and a resource, amapping relationship between a quality of service QoS parameter and aresource, a quality of service QoS parameter threshold, and a sidelinkquality threshold, for example, the sidelink quality threshold includesa first-standard V2X sidelink quality threshold and/or a second-standardV2X sidelink quality threshold, and the configuration rule is used bythe first terminal device to determine the V2X sidelink resource.

Optionally, the sending unit 21 is further configured to send ameasurement event to the first terminal device;

the receiving unit 23 is further configured to receive a measurementreport sent by the first terminal device, where the measurement reportis sent by the first terminal device when the first terminal devicedetermines that the measurement event satisfies a preset condition;

the obtaining unit 22 is further configured to determine the V2Xsidelink resource based on the measurement report; and

the sending unit 21 is further configured to send the V2X sidelinkresource to the first terminal device.

Optionally, the measurement event includes any one of the following:

a first-standard V2X sidelink channel busy ratio SL CBR is greater thanor greater than or equal to a second threshold, and/or a second-standardV2X SL CBR is less than or less than or equal to a third threshold;

a first-standard V2X SL CBR is less than or less than or equal to afourth threshold, and/or a second-standard V2X SL CBR is greater than orgreater than or equal to a fifth threshold;

a first-standard V2X SL CBR or a second-standard V2X SL CBR is greaterthan or greater than or equal to a sixth threshold, and a referencesignal received power RSRP or reference signal received quality RSRQ isgreater than or greater than or equal to a seventh threshold; or

a first-standard V2X SL CBR or a second-standard V2X SL CBR is less thanor less than or equal to an eighth threshold, and a RSRP or RSRQ is lessthan or less than or equal to a ninth threshold.

Optionally, the receiving unit 23 is further configured to receive adevice identifier, sent by the first terminal device, of the secondterminal device;

the obtaining unit 22 is further configured to obtain, based on thedevice identifier, information indicating that the second terminaldevice supports the first-standard V2X service and informationindicating that the second terminal device supports the second-standardV2X service; and the obtaining unit 22 is further configured todetermine the V2X sidelink resource based on the information indicatingthat the second terminal device supports the first-standard V2X serviceand the information indicating that the second terminal device supportsthe second-standard V2X service.

Optionally, the sending unit 21 is further configured to send, to thefirst terminal device, the information indicating that the secondterminal device supports the first-standard V2X service and theinformation indicating that the second terminal device supports thesecond-standard V2X service.

Optionally, the grant information includes at least one of the followinginformation: whether the first terminal device is granted as afirst-standard vehicle terminal device, whether the first terminaldevice is granted as a first-standard pedestrian terminal device,whether the first terminal device is granted as a second-standardvehicle terminal device, and whether the first terminal device isgranted as a second-standard pedestrian terminal device.

Optionally, a first V2X sidelink and a second V2X sidelink use a sameV2X synchronization type and a same SL-V-RNTI.

The communications apparatus provided in this embodiment of thisapplication may perform the foregoing corresponding method embodiment.The implementation principles and the technical effects of thecommunications apparatus are similar to those in the method embodiment.Details are not described herein again.

For example, it should be understood that, division into the units ofthe apparatus is merely logical function division, and during actualimplementation, all or some of the units may be integrated into aphysical entity, or the units may be physically separate. In addition,all of the units may be implemented in a form of software invoked by aprocessing element, or implemented in a form of hardware. Alternatively,some of the units may be implemented in a form of software invoked by aprocessing element, and some of the units may be implemented in a formof hardware. For example, the sending unit may be a processing elementdisposed separately, or may be integrated into a chip of the apparatusfor implementation. In addition, the sending unit may be stored in amemory of the apparatus in a form of a program, and invoked by aprocessing element of the apparatus to perform the function of thesending unit. Implementation of other units is similar to that of thesending unit. Optionally, the units are all or partially integrated, ormay be implemented independently. The processing element herein may bean integrated circuit and has a signal processing capability. In animplementation process, the steps in the foregoing method or theforegoing units can be implemented by using a hardware integrated logiccircuit in the processor element or by using instructions in a form ofsoftware. For example, the foregoing sending unit is a sending controlunit, and may send information by using a sending apparatus of theapparatus, for example, an antenna and a radio frequency apparatus.

The foregoing units may be configured as one or more integrated circuitsfor implementing the foregoing method, for example, one or moreapplication specific integrated circuits (application specificintegrated circuit, ASIC), one or more microprocessors (digital signalprocessor, DSP), or one or more field programmable gate arrays (fieldprogrammable gate array, FPGA). For another example, when a unit isimplemented by scheduling a program by a processing element, theprocessing component may be a general purpose processor, for example, acentral processing unit (central processing unit, CPU) or anotherprocessor that can invoke the program. For another example, the unitsmay be integrated together and implemented in a form of asystem-on-a-chip (system-on-a-chip, SOC).

FIG. 6 is a schematic structural diagram of a terminal device accordingto an embodiment of this application. As shown in FIG. 6, the terminaldevice includes a processor 110, a memory 120, and a transceiverapparatus 130. The transceiver apparatus 130 may be connected to anantenna. In a downlink, the transceiver apparatus 130 receives, by usingthe antenna, information sent by a base station, and sends theinformation to the processor 110 for processing. In an uplink, theprocessor 110 processes data of the terminal device, and sends the datato the base station by using the transceiver apparatus 130.

The memory 120 is configured to store a program for implementing theforegoing method embodiment or the modules in the embodiment shown inFIG. 4, and the processor 110 invokes the program to perform theoperations in the foregoing method embodiment, to implement the modulesshown in FIG. 4.

Alternatively, some or all of the foregoing modules may be implementedin a form of an integrated circuit that is embedded in a chip of theterminal device. In addition, they may be separately implemented, or maybe integrated together. To be specific, the foregoing units may beconfigured as one or more integrated circuits for implementing theforegoing method, for example, one or more application specificintegrated circuits (application specific integrated circuit, ASIC), oneor more microprocessors (digital signal processor, DSP), or one or morefield programmable gate arrays (field programmable gate array, FPGA).

FIG. 7 is a schematic structural diagram of a base station according toan embodiment of this application. As shown in FIG. 7, the base stationincludes an antenna 110, a radio frequency apparatus 120, and a basebandapparatus 130. The antenna 110 is connected to the radio frequencyapparatus 120. In an uplink, the radio frequency apparatus 120 receives,by using the antenna 110, information sent by a terminal device, andsends, to the baseband apparatus 130 for processing, the informationsent by the terminal device. In a downlink, the baseband apparatus 130processes the information sent by the terminal device, and sends theinformation to the radio frequency apparatus 120. The radio frequencyapparatus 120 processes the information sent by the terminal device, andthen sends the processed information to the terminal device by using theantenna 110.

In an implementation, the foregoing modules are implemented in a form ofa processing element scheduling a program. For example, the basebandapparatus 130 includes a processing element 131 and a storage element132, and the processing element 131 invokes a program stored in thestorage element 132, to perform the method in the foregoing methodembodiment. Optionally, the baseband apparatus 130 further includes aninterface 133, configured to exchange information with the radiofrequency apparatus 120. For example, the interface is a common publicradio interface (common public radio interface, CPRI).

In another implementation, the foregoing modules may be configured asone or more processing elements to implement the foregoing method, andthe processing elements are arranged on the baseband apparatus 130. Theprocessing element herein may be an integrated circuit, for example, oneor more ASICs, one or more DSPs, or one or more FPGAs. The integratedcircuits may be integrated together to form a chip.

For example, the foregoing modules may be integrated in a form of asystem-on-a-chip (system-on-a-chip, SOC). For example, the basebandapparatus 130 includes an SOC chip, configured to implement theforegoing method. The processing element 131 and the storage element 132may be integrated into the chip, and the processing element 131 invokesthe program stored in the storage element 132, to implement theforegoing method or functions of the foregoing units. Alternatively, atleast one integrated circuit may be integrated in the chip to implementthe foregoing method or functions of the foregoing units. Alternatively,the foregoing implementations may be combined, functions of some unitsare implemented by a processing element invoking a program, andfunctions of some units are implemented by using an integrated circuit.

Regardless of a manner, the base station may include at least oneprocessing element, and may further include a storage element and/or acommunications interface. The at least one processing element isconfigured to perform the method provided in the foregoing methodembodiment. The processing element may perform some or all of the stepsin the foregoing method embodiment in a first manner, to be specific, byexecuting the program stored in the storage element, or in a secondmanner, to be specific, by using a hardware integrated logic circuit inthe processor element in combination with an instruction. Certainly, themethod provided in the foregoing method embodiment may alternatively beperformed by combining the first manner with the second manner.

The processing element herein is the same as that described above, maybe a general purpose processor such as a central processing unit(central processing unit, CPU), or may be configured as one or moreintegrated circuits for implementing the foregoing method, for example,one or more application specific integrated circuits (applicationspecific integrated circuit, ASIC), one or more microprocessors (digitalsignal processor, DSP), or one or more field programmable gate arrays(field programmable gate array, FPGA).

The storage element may be one memory, or may be a general name of aplurality of storage elements.

This application further provides a storage medium, including a readablestorage medium and a computer program. The computer program is used toimplement the communication method provided in any one of the foregoingembodiments.

This application further provides a program product. The program productincludes a computer program (namely, an executable instruction). Thecomputer program is stored in a readable storage medium. At least oneprocessor of a terminal device may read the computer program from thereadable storage medium. The at least one processor executes thecomputer program, so that the terminal device implements thecommunication method provided in the foregoing implementations.

An embodiment of this application further provides a communicationsapparatus, including at least one storage element and at least oneprocessing element. The at least one storage element is configured tostore a program. When the program is executed, the communicationsapparatus is enabled to perform an operation of the terminal device inany one of the foregoing embodiments. The apparatus may be a terminaldevice chip.

This application further provides a storage medium, including a readablestorage medium and a computer program. The computer program is used toimplement the communication method provided in any one of the foregoingembodiments.

This application further provides a program product. The program productincludes a computer program (namely, an executable instruction). Thecomputer program is stored in a readable storage medium. At least oneprocessor of a base station may read the computer program from thereadable storage medium. The at least one processor executes thecomputer program, so that the base station implements the communicationmethod provided in the foregoing implementations.

An embodiment of this application further provides a communicationsapparatus, including at least one storage element and at least oneprocessing element. The at least one storage element is configured tostore a program. When the program is executed, the communicationsapparatus is enabled to perform an operation of the base station in anyone of the foregoing embodiments. The apparatus may be a base stationchip.

All or some of the steps of the method embodiment may be implemented bya program instructing related hardware. The foregoing program may bestored in a readable memory. When the program is executed, the steps ofthe method embodiments are performed. The memory (storage medium)includes a read-only memory (English: read-only memory, ROM), a RAM, aflash memory, a hard disk, a solid-state drive, a magnetic tape(magnetic tape), a floppy disk (floppy disk), an optical disc (opticaldisc), and any combination thereof.

1. A communication method, applied to a first terminal device andcomprising: receiving, by the first terminal device, one or both of afirst-standard vehicle-to-everything (V2X) sidelink configuration and asecond-standard V2X sidelink configuration from a network device;obtaining, by the first terminal device based on one or both of thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration, a V2X sidelink resource used for datatransmission; and communicating, by the first terminal device, with asecond terminal device on the V2X sidelink resource.
 2. The methodaccording to claim 1, wherein the method further comprises: sending, bythe first terminal device to the network device, information indicatingthat the first terminal device supports a first-standard V2X service andinformation indicating that the first terminal device supports asecond-standard V2X service.
 3. The method according to claim 1, whereinthe obtaining a V2X sidelink resource used for data transmissioncomprises: sending, by the first terminal device, a second message tothe network device, wherein the second message carries at least onepiece of information that indicates a network standard; and receiving,by the first terminal device, the V2X sidelink resource sent by thenetwork device based on the network standard.
 4. The method according toclaim 1, wherein the obtaining a V2X sidelink resource used for datatransmission comprises: receiving, by the first terminal device, aconfiguration rule sent by the network device, wherein the configurationrule comprises at least one of the following information: a mappingrelationship between a V2X service type and a resource, a mappingrelationship between a quality of service QoS parameter and a resource,a QoS parameter threshold, or a sidelink quality threshold; wherein thesidelink quality threshold comprises one or both of a first-standard V2Xsidelink quality threshold and a second-standard V2X sidelink qualitythreshold; and determining, by the first terminal device, the V2Xsidelink resource according to the configuration rule.
 5. The methodaccording to claim 2, wherein the information indicating that the firstterminal device supports the first-standard V2X service is capabilityindication information indicating that the first terminal devicesupports the first-standard V2X service, the information indicating thatthe first terminal device supports the second-standard V2X service iscapability indication information indicating that the first terminaldevice supports the second-standard V2X service.
 6. A communicationmethod, applied to a network device and comprising: sending, by thenetwork device, one or both of a first-standard vehicle-to-everything(V2X) sidelink configuration and a second-standard V2X sidelinkconfiguration to a first terminal device, wherein one or both of thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration are used by the first terminal device to obtain aV2X sidelink resource used for data transmission and communicate with asecond terminal device on the V2X sidelink resource.
 7. The methodaccording to claim 6, wherein the method further comprises: obtaining,by the network device, at least one of the following information:information indicating that the first terminal device supports afirst-standard V2X service, information indicating that the firstterminal device supports a second-standard V2X service, grantinformation of the first terminal device, or sidelink aggregate maximumbit rates AMBRs of the first terminal device, wherein the sidelink AMBRscomprise a first-standard V2X sidelink AMBR or a second-standard V2Xsidelink AMBR; and the sending, by the network device, one or both of afirst-standard V2X sidelink configuration and a second-standard V2Xsidelink configuration to a first terminal device comprises: sending, bythe network device, one or both of the first-standard V2X sidelinkconfiguration and the second-standard V2X sidelink configuration to thefirst terminal device based on the at least one of the informationindicating that the first terminal device supports the first-standardV2X service, the information indicating that the first terminal devicesupports the second-standard V2X service, the grant information, or thesidelink AMBRs.
 8. The method according to claim 6, wherein the methodfurther comprises: receiving, by the network device, a second messagesent by the first terminal device, wherein the second message carries atleast one piece of information used to indicate that indicates a networkstandard; determining, by the network device, the V2X sidelink resourcebased on the network standard; and sending, by the network device, theV2X sidelink resource to the first terminal device.
 9. The methodaccording to claim 6, wherein the method further comprises: sending, bythe network device, a configuration rule to the first terminal device,wherein the configuration rule comprises at least one of the followinginformation: a mapping relationship between a V2X service type and aresource, a mapping relationship between a quality of service QoSparameter and a resource, a QoS parameter threshold, or a sidelinkquality threshold; wherein the sidelink quality threshold comprises oneor both of a first-stanedard V2X sidelink quality threshold and asecond-standard V2X sidelink quality threshold, and the configurationrule is used by the first terminal device to determine the V2X sidelinkresource.
 10. The method according to claim 7, wherein the informationindicating that the first terminal device supports the first-standardV2X service is capability indication information indicating that thefirst terminal device supports the first-standard V2X service, theinformation indicating that the first terminal device supports thesecond-standard V2X service is capability indication informationindicating that the first terminal device supports the second-standardV2X service.
 11. A communication apparatus, applied to a first terminaldevice and comprising: at least one processor, and a memory storinginstructions for execution by the at least one processor; wherein, whenexecuted, the instructions cause the apparatus to perform operationscomrising: receiving, one or both of a first-standardvehicle-to-everything (V2X) sidelink configuration and a second-standardV2X sidelink configuration from a network device; obtaining, based onone or both of the first-standard V2X sidelink configuration and thesecond-standard V2X sidelink configuration, a V2X sidelink resource usedfor data transmission; and communicating, with a second terminal deviceon the V2X sidelink resource.
 12. The communication apparatus accordingto claim 11, wherein, when executed, the instructions cause theapparatus to perform operations comrising: sending, to the networkdevice, information indicating that the apparatus supports afirst-standard V2X service and information indicating that the apparatussupports a second-standard V2X service.
 13. The communication apparatusaccording to claim 11, wherein the obtaining a V2X sidelink resourceused for data transmission comprises: sending, a second message to thenetwork device, wherein the second message carries at least one piece ofinformation that indicates a network standard; and receiving, the V2Xsidelink resource sent by the network device based on the networkstandard.
 14. The communication apparatus according to claim 11, whereinthe obtaining a V2X sidelink resource used for data transmissioncomprises: receiving, a configuration rule sent by the network device,wherein the configuration rule comprises at least one of the followinginformation: a mapping relationship between a V2X service type and aresource, a mapping relationship between a quality of service QoSparameter and a resource, a QoS parameter threshold, or a sidelinkquality threshold; wherein the sidelink quality threshold comprises oneor both of a first-standard V2X sidelink quality threshold and asecond-standard V2X sidelink quality threshold; and determining, the V2Xsidelink resource according to the configuration rule.
 15. Thecommunication apparatus according to claim 12, wherein the informationindicating that the apparatus supports the first-standard V2X service iscapability indication information indicating that the apparatus supportsthe first-standard V2X service, the information indicating that theapparatus supports the second-standard V2X service is capabilityindication information indicating that the apparatus supports thesecond-standard V2X service.
 16. A communication apparatus, applied to anetwork device and comprising: at least one processor, and a memorystoring instructions for execution by the at least one processor;wherein, when executed, the instructions cause the apparatus to performoperations comrising: sending, one or both of a first-standardvehicle-to-everything V2X sidelink configuration and a second-standardV2X sidelink configuration to a first terminal device, wherein one orboth of the first-standard V2X sidelink configuration and thesecond-standard V2X sidelink configuration are used by the firstterminal device to obtain a V2X sidelink resource used for datatransmission and communicate with a second terminal device on the V2Xsidelink resource.
 17. The communication apparatus according to claim16, wherein when executed, the instructions cause the apparatus toperform operations comrising: obtaining, at least one of the followinginformation: information indicating that the first terminal devicesupports a first-standard V2X service, information indicating that thefirst terminal device supports a second-standard V2X service, grantinformation of the first terminal device, or sidelink aggregate maximumbit rates AMBRs of the first terminal device, wherein the sidelink AMBRscomprise a first-standard V2X sidelink AMBR or a second-standard V2Xsidelink AMBR; and the sending, one or both of a first-standard V2Xsidelink configuration and a second-standard V2X sidelink configurationto a first terminal device comprises: sending, one or both of thefirst-standard V2X sidelink configuration and the second-standard V2Xsidelink configuration to the first terminal device based on the atleast one or more of the information indicating that the first terminaldevice supports the first-standard V2X service, the informationindicating that the first terminal device supports the second-standardV2X service, the grant information, or the sidelink AMBRs.
 18. Thecommunication apparatus according to claim 16, wherein when executed,the instructions cause the apparatus to perform operations comrising:receiving, a second message sent by the first terminal device, whereinthe second message carries at least one piece of information thatindicates a network standard; determining, the V2X sidelink resourcebased on the network standard; and sending, the V2X sidelink resource tothe first terminal device.
 19. The communication apparatus according toclaim 16, wherein, when executed, the instructions cause the apparatusto perform operations comrising: sending, a configuration rule to thefirst terminal device, wherein the configuration rule comprises at leastone of the following information: a mapping relationship between a V2Xservice type and a resource, a mapping relationship between a quality ofservice QoS parameter and a resource, a QoS parameter threshold, or asidelink quality threshold; wherein the sidelink quality thresholdcomprises one or both of a first-standard V2X sidelink quality thresholdand a second-standard V2X sidelink quality threshold, and theconfiguration rule is used by the first terminal device to determine theV2X sidelink resource.
 20. The communication apparatus according toclaim 17, wherein the information indicating that the first terminaldevice supports the first-standard V2X service is capability indicationinformation indicating that the first terminal device supports thefirst-standard V2X service, the information indicating that the firstterminal device supports the second-standard V2X service is capabilityindication information indicating that the first terminal devicesupports the second-standard V2X service.